Linux and macOS Command Line Basics

preview_player
Показать описание
There's some foundational command line stuff that you should be aware of, but once you know how all it works, you'll find that it's quite useful.

Hope you enjoyed the video!

Check out this code here:

Join my Discord server to chat with me:

Check out some code on my GitHub:

Come visit us on Reddit:

Other Social:
Рекомендации по теме
Комментарии
Автор

A little misspeak... `cd ..` takes you UP one directory, not technically BACK to the PREVIOUS. If you step down directory by directory, going up and back are the same thing. But, you can `cd` anywhere with a valid path argument. If you are in /home/brian/demos, `cd /home/brian/files/videos/uploads_for_youtube`, then `cd ..`, you will be in /home/brian/files/videos. `cd -` takes you back to the actual previous directory.

bokkenka
Автор

LOL at the "rm -rf" reflex at 8:17 :D Keep up the good work!

ooloncolluphid
Автор

I wanted to thank you for this video. I have seen many commands and they seem confusing but you made it appear easy. I literally typed commands on Mac and Linux as I listened to and watched your video. Very informative.

moegreenback
Автор

I've learned more about python and linux after 30 minutes of watching your videos than I have in hours of reading forums and how-to's

FidgetTheMidgetP
Автор

I like “sudo !!” for running a command where I forgot sudo.

donnelly
Автор

I still remember "less is more, more is less" I amended "less is more, more is less, but if more is less why would anyone wanna use more?" 😂
Great vid as usual!

ZacKoch
Автор

You should do an advanced terminal commands video

mattcall
Автор

`less` (and pretty sure `nano` as well) can also scroll up and down using J and K or CTRL+N and CTRL+P, which are the vi and emacs bindings respectively. Some people may find it easier/more natural that way, compared to arrow keys :)

brainplot
Автор

timely video as, i am relearning shell stuff right now. finding it easier to learn fish and have also read good things about the openbsd ksh.

bashisobsolete.pythonismyn
Автор

Hello I am just starting to learn Linux. I am having a problem when I’ll type a command and I guess it was the wrong command and it brings me down to a blank line If that makes any sense. Is there anyway to go back up a line in Linux?

richardlizcano
Автор

You can also re-run the command in history with an exclamation point in-front of the line number. So I can re-run "nano text.json" with "!1089". If you want to run the command as root then it's "sudo !1089". Behold, the power of *nix.

DailyBeatings
Автор

Lots of great info. Thank for posting this.

X-xf
Автор

What theme you using for your terminal.. Directory colors are showing different.. I would like to use same

SnortDefence
Автор

A decent introduction. You said just the surface sheesh. So mkdir is basically making a folder, touch making a text document. Question were you doing these commands through tmux or was it straight shell commands?

celestialbeing
Автор

4:34 I would have called it the "parent directory."

VulcanOnWheels
Автор

I just need to ask... what linux distro or terminal do u use? I discovered u today and watched few of your videos and absolutely love that “programme” which u use for your programming, can you please tell me which one is it?

tommyshon
Автор

Thanks. Hello man. Have very differences between line commands of Linux and Mac?

pandabuddy
Автор

Long time viewer here from the philippines... quick question.. can i open ADB or debugging option on andriod using shell command?

PCCenterNetworkSolution
Автор

At 11:47 you put a colon after brian. Does this do anything special? Because I tested it myself with and without it and saw no difference, and was wondering if there was any reasoning behind it. Thanks.

halfpint
Автор

you can also abstract cd .. further by doing cd which will take you up 5 directories (or as many levels as you wish)

mattcall