15+ Terminal Commands Every Developer Must Know

preview_player
Показать описание
Whether you just learning programming or you have been doing it for decades, one thing is for sure. You need to know how to navigate the command line. This is especially true if you ever need to access a server since you will only ever have access to a command line interface.

🌎 Find Me Here:

⏱️ Timestamps:

00:00 - Introduction
00:49 - pwd
01:18 - ls
04:07 - clear
04:20 - cd
07:13 - mkdir
07:35 - touch
08:03 - cp
10:20 - rm
11:41 - nano
13:19 - cat
14:10 - Redirect Operators
15:42 - echo
16:37 - man
17:29 - apt-get/sudo

#CommandLine #WDS #Terminal
Рекомендации по теме
Комментарии
Автор

">" is not the pipe operator. it is the redirect operator. ">>" is redirect and append. "|" is the pipe and it means take STDOUT of the previous program and give it to STDIN of the next program.

KyleLanmon
Автор

Thank you. It would be great to mention the abbreviations meaning as well. Easier to remember the commands.
pwd = Print Working Director, ls = List, sudo = Super User Do etc.
PS: Touch command refers to a Michelangelo’s Creation of Adam painting I guess.

kvetoslavnovak
Автор

Instead of typing "clear" you can just press Ctrl + L and it clears the terminal.

AleX-pzcp
Автор

Tip: to re-run the last command with sudo permissions, instead of typing it again, just type "sudo !!"

pbasicpixel
Автор

Doing a video about this topic was a great idea. 👍

arturomedina
Автор

Command line can be confusing, but just remember, all it is doing is running an executable with the name that you put for. The computer keeps an internal list of accepted commands, this is based on you environment variables which are automatically included during installation. Because the executable can only accept text through the command line you just seperate your parameters in a predefined way after the executable name.

calvinwilson
Автор

One thing where the CLI shines is your ability to define your own shorthands. These could be aliases, or functions, or indeed other scripts written in either bash or python or perl or whatever.

Chalisque
Автор

Thank you so much Kyle for the very informative and helpful tutorial! God bless and good luck!

balamina
Автор

You are the only good developer on youtube who does not use mac. I actually like that you don't use mac.😃

mamtaagarwal
Автор

"history" is another great command to show a list of all previously typed commands.

edgarasben
Автор

A great summary of the basic commands for the command line! On windows10 in gitbash the man command is not found and cd or cd ~ always change to the home directory not to the one visited previously.

fregattkapitany
Автор

Can't get enough of your videos kyle thank you 🙏🙏🙏

RickGrimes
Автор

Please make a video explaining the types of pixels (maybe there are 3 types) and how media queries work on small phones with high screen resolutions like 2k and 4k and how to make responsive sites for smartphones with such high resolutions

vortex
Автор

Well i've been using Linux (Archlinux with AwesomeWM) for almost a year now, and i don't want to go back to windows. I use linux+zsh so it's pretty easy to set it up your liking, and fzf could really come in handy if you want to make custom script and z can take your anywhere you've been, just type "z Project" and it will take you to your last "Project" folder no matter how long the path is, you don't even need to type "Project" just type "Proj" "ject" or any it will take you to the last directory with that keyword.
Seriously if you haven't tried doing web development in linux TRY IT, it could save you a lot of time, though the time to master it might not be short, though some distro like Mint, Zorin, Pop OS give a Windows like experience so it's a good way to start. If you're already using linux then try switching to Window Managers instead of Desktop Environment (Gnome/KDE), make your own workflow and keybinding since it's gonna be easier to remember them if you're the one who make them.

thelazt
Автор

If you accidentally forgot to add sudo before running the command, then you can type "sudo !!" to add it to the beginning of the previous command. Also "|" is the pipe command.

vishalkalansooriya
Автор

you can use cmd+k to clear the terminal instead of writing clear

sainathreddy
Автор

Well, > is redirect, >> is append and | is the pipe operator but you got the functionality right. Apt is the package manager used by Debian distors, distros like Arch, Fedora, OpenSUSE have their own package managers.

Schweppese
Автор

Liked even before viewing, coz this is an underrated but really useful topic. And I have full faith that this video will be much beyond my expectations! :)

nsharma
Автор

4:37 have been using cd command for like 10 years. Never realized it means "change directory" 😂

madhousenetwork
Автор

If you know these commands, you can also write bash scripts which is extremely useful for automating tasks

TomDoesTech