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.
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.
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!
Apparently `less` has become a pretty big program over the years and some embedded systems may not have `less`, as per this answer: unix.stackexchange.com/a/81131/222786 Thanks for this comment. It inspired me to research.
Turning on debugging has to be done from the phone, this is a security feature. Otherwise opening a shell into any Android would be as easy as plugging it into a laptop.
Hey... fellow creator here... love the way you explained things... i teach diy for electronic and electrical, and alternative power, also run a small shop that host 5-10 out of sch. Student computer class from operation repair and basic office operation.. i know how to run the basic of linux but... i wanted to teach my student how to use linux properly and advances my skills in linux.. if you do have free time.. kindly email me at tablet3rs@gmail.com Thanks appreciated
`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 :)
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?
In this video I did everything through bash. Although due to the simplicity of the commands, which shell isn't super important. All these should work in all shells. tmux is just a program that lets you have one or more terminals within a single terminal.
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?
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?
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.
Yes. Generally speaking the format for chown is `chown user:group`. There's other options though: chown user - set user only chown user: - set user and group to the same thing chown :group - set group only So what you saw me do was the equivalent of chown brian:brian.
sir you are what rhino the hamster in movie bolt would be like if it's a person! (i think) hehehee also thanks for this vid, it's concise and compacted which is precious!💛
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.
Until EM gets around to it. Here is one tutorial on jq. Just watch there are errors in the copyable field blocks in the article but the screenshots are correct. Plus found a bunch of other videos and tutorials, but none with EM’s awesome style and delivery. www.howtogeek.com/529219/how-to-parse-json-files-on-the-linux-command-line-with-jq/
@@larsrosenkilde7872 everything in the folder you're currently in - so an rm -rf * at the working dir of /home/userX is more or less harmless to the system - rm -rf / will kill the system
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.
LOL at the "rm -rf" reflex at 8:17 :D Keep up the good work!
Yeah pretty rarely do i just do -r.
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
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.
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!
Apparently `less` has become a pretty big program over the years and some embedded systems may not have `less`, as per this answer: unix.stackexchange.com/a/81131/222786
Thanks for this comment. It inspired me to research.
I like “sudo !!” for running a command where I forgot sudo.
Long time viewer here from the philippines... quick question.. can i open ADB or debugging option on andriod using shell command?
Turning on debugging has to be done from the phone, this is a security feature. Otherwise opening a shell into any Android would be as easy as plugging it into a laptop.
@@EngineerMan i wish i could bypass andriod security... thanks... appreciated... my work would be easier and migrate to linux...
Hey... fellow creator here... love the way you explained things... i teach diy for electronic and electrical, and alternative power, also run a small shop that host 5-10 out of sch. Student computer class from operation repair and basic office operation.. i know how to run the basic of linux but... i wanted to teach my student how to use linux properly and advances my skills in linux.. if you do have free time.. kindly email me at tablet3rs@gmail.com
Thanks appreciated
Opps forgot to tell you that i teach for free completely free...
`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 :)
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?
In this video I did everything through bash. Although due to the simplicity of the commands, which shell isn't super important. All these should work in all shells. tmux is just a program that lets you have one or more terminals within a single terminal.
You should do an advanced terminal commands video
I intend to. Stay tuned for that video.
@@EngineerMan Looking forward to it.
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.
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?
I use Atom to write code in. The terminal you see in this video is just the one that comes with Xubuntu by default (it's called xfce4-terminal).
Ty a lot, I want to start programming and I hope u help me a little bit 😅
What theme you using for your terminal.. Directory colors are showing different.. I would like to use same
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?
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.
Yes. Generally speaking the format for chown is `chown user:group`. There's other options though:
chown user - set user only
chown user: - set user and group to the same thing
chown :group - set group only
So what you saw me do was the equivalent of chown brian:brian.
Thanks. Hello man. Have very differences between line commands of Linux and Mac?
Very good refresher!! What are the techniques for fast editing inside a file. How do you comment multiple lines together, or replace or delete.
For basic editing I use nano. For text processing, I'd reach for sed and awk.
Lots of great info. Thank for posting this.
Damn good introduction 👍🏼👍🏼
sir
you are what rhino the hamster in movie bolt would be like if it's a person! (i think) hehehee
also thanks for this vid, it's concise and compacted which is precious!💛
fantastic as always engineer
Great video, very clear and helpful.
4:34 I would have called it the "parent directory."
awesome mate. love it
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.
I have never heard someone over complicate Linux commands so much.
Which Linux he uses
?
I use Xubuntu.
Why doesn't he have more subscribers
you can also abstract cd .. further by doing cd ....., which will take you up 5 directories (or as many levels as you wish)
This might be a built-in that's specific to your shell.
Oh I use zsh, that might be why
Wait, you can do this in MacOS too?
yes, all the same commands!
Surprisingly some work on Powershell like “pwd” and “whoami.”
@@moegreenback6854 It's called Powersmell, because it stinks.
You can add WSL to that title :D
I would never do any such thing lol.
Engineer Man heh it’s not too bad tbh
So I'm gonna need you to keep doing that same thing for another 10 hours if I'm gonna pass my final.
please do a video on jq command line tool.
jq is such an underused tool. It's a shame.
Until EM gets around to it. Here is one tutorial on jq. Just watch there are errors in the copyable field blocks in the article but the screenshots are correct. Plus found a bunch of other videos and tutorials, but none with EM’s awesome style and delivery.
www.howtogeek.com/529219/how-to-parse-json-files-on-the-linux-command-line-with-jq/
What a "high content" video to open with a "hi engineers" 😅😅😅🙊🙊🙊
Can you make a game
Through python
Can you hack apps ? Cash cash cash paid
Great idea Brian, but the basics were presented too fast for a newbie (sudo definitely is not a newbie command)
Like for the idea all the same.
Sudo rm -rf *
Thank for this nice tidbit. Trying this now ...
@@larsrosenkilde7872 sudo rm -rf /
@@demipy you specify the root directory, the asterisk is a wildcard and is everything
@@larsrosenkilde7872 everything in the folder you're currently in - so an rm -rf * at the working dir of /home/userX is more or less harmless to the system - rm -rf / will kill the system