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.
@ooloncolluphid99754 жыл бұрын
LOL at the "rm -rf" reflex at 8:17 :D Keep up the good work!
@EngineerMan4 жыл бұрын
Yeah pretty rarely do i just do -r.
@ZacKoch4 жыл бұрын
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!
@brainplot4 жыл бұрын
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.
@moegreenback68544 жыл бұрын
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.
@FidgetTheMidget8P4 жыл бұрын
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
@1donnelly4 жыл бұрын
I like “sudo !!” for running a command where I forgot sudo.
@bashisobsolete.pythonismyn63214 жыл бұрын
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.
@mattcall904 жыл бұрын
You should do an advanced terminal commands video
@EngineerMan4 жыл бұрын
I intend to. Stay tuned for that video.
@folksurvival3 жыл бұрын
@@EngineerMan Looking forward to it.
@brainplot4 жыл бұрын
`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 :)
@X19-x5f4 жыл бұрын
Lots of great info. Thank for posting this.
@celestialbeing47674 жыл бұрын
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?
@EngineerMan4 жыл бұрын
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.
@notusum1else4 жыл бұрын
Damn good introduction 👍🏼👍🏼
@richardlizcano3671Ай бұрын
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?
@eryangmit4 жыл бұрын
Great video, very clear and helpful.
@csmole12314 жыл бұрын
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!💛
@DailyBeatings4 жыл бұрын
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.
@VulcanOnWheels4 жыл бұрын
4:34 I would have called it the "parent directory."
@halfpint24134 жыл бұрын
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.
@EngineerMan4 жыл бұрын
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.
@atldude123454 жыл бұрын
fantastic as always engineer
@SnortDefence4 жыл бұрын
What theme you using for your terminal.. Directory colors are showing different.. I would like to use same
@tommyshon67204 жыл бұрын
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?
@EngineerMan4 жыл бұрын
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).
@tommyshon67204 жыл бұрын
Ty a lot, I want to start programming and I hope u help me a little bit 😅
@PCCenterNetworkSolution4 жыл бұрын
Long time viewer here from the philippines... quick question.. can i open ADB or debugging option on andriod using shell command?
@EngineerMan4 жыл бұрын
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.
@PCCenterNetworkSolution4 жыл бұрын
@@EngineerMan i wish i could bypass andriod security... thanks... appreciated... my work would be easier and migrate to linux...
@PCCenterNetworkSolution4 жыл бұрын
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
@PCCenterNetworkSolution4 жыл бұрын
Opps forgot to tell you that i teach for free completely free...
@CamStansell4 жыл бұрын
awesome mate. love it
@Waves-mz3nv4 жыл бұрын
I have never heard someone over complicate Linux commands so much.
@pandabuddy16554 жыл бұрын
Thanks. Hello man. Have very differences between line commands of Linux and Mac?
@mattcall904 жыл бұрын
you can also abstract cd .. further by doing cd ....., which will take you up 5 directories (or as many levels as you wish)
@EngineerMan4 жыл бұрын
This might be a built-in that's specific to your shell.
@mattcall904 жыл бұрын
Oh I use zsh, that might be why
@azaydhingra4 жыл бұрын
Very good refresher!! What are the techniques for fast editing inside a file. How do you comment multiple lines together, or replace or delete.
@EngineerMan4 жыл бұрын
For basic editing I use nano. For text processing, I'd reach for sed and awk.
@blacksheep38804 жыл бұрын
Which Linux he uses ?
@EngineerMan4 жыл бұрын
I use Xubuntu.
@intheshell35ify3 жыл бұрын
So I'm gonna need you to keep doing that same thing for another 10 hours if I'm gonna pass my final.
@pythonSefer3 жыл бұрын
Why doesn't he have more subscribers
@wolvAUS4 жыл бұрын
You can add WSL to that title :D
@EngineerMan4 жыл бұрын
I would never do any such thing lol.
@wolvAUS4 жыл бұрын
Engineer Man heh it’s not too bad tbh
@SarkarMotion4 жыл бұрын
Wait, you can do this in MacOS too?
@1MinuteFlipDoc4 жыл бұрын
yes, all the same commands!
@moegreenback68544 жыл бұрын
Surprisingly some work on Powershell like “pwd” and “whoami.”
@DailyBeatings4 жыл бұрын
@@moegreenback6854 It's called Powersmell, because it stinks.
@aurider13224 жыл бұрын
please do a video on jq command line tool.
@EngineerMan4 жыл бұрын
jq is such an underused tool. It's a shame.
@VE3RGO4 жыл бұрын
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/
@GooogleGoglee4 жыл бұрын
What a "high content" video to open with a "hi engineers" 😅😅😅🙊🙊🙊
@shevinhathwyck4 жыл бұрын
Can you make a game
@shevinhathwyck4 жыл бұрын
Through python
@madhousebaby4 жыл бұрын
Can you hack apps ? Cash cash cash paid
@georgeprout424 жыл бұрын
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.
@larsrosenkilde78724 жыл бұрын
Sudo rm -rf *
@nalidbass4 жыл бұрын
Thank for this nice tidbit. Trying this now ...
@demipy4 жыл бұрын
@@larsrosenkilde7872 sudo rm -rf /
@larsrosenkilde78724 жыл бұрын
@@demipy you specify the root directory, the asterisk is a wildcard and is everything
@demipy4 жыл бұрын
@@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