Table of contents: 0:58 Opening the terminal 1:20 Zooming on the terminal 2:00 Print working directory - pwd 2:34 Change directory - cd 4:18 Clearing the screen - clear / Control+l 4:45 List contents of directories - ls 7:12 Manual pages - man 8:07 Creating files - touch 9:30 Showing file contents - cat 9:49 Creating directories - mkdir 10:23 Moving files - mv 11:36 Copying files - cp 12:14 Removing files - rm 13:05 Removing directories - rmdir 13:30 Removing not empty directories - rm -rf 15:06 Finding program binaries - which / whereis 16:29 Finding files in filesystem - locate / mlocate / find 17:54 Printing text - echo 19:21 Printing text - printf 21:26 Cat from the top of a file - less 22:00 Finding strings of text in a file - grep 22:50 Piping program outputs - | 23:19 Find and replace strings - sed 25:38 Printing first or last lines of a file - head / tail 26:54 File permissions - chmod 29:50 Console command history - history 30:43 Repeat last command - !! 31:56 Closing programs - kill / killall / xkill 33:20 Closing programs - htop 34:22 Testing connection - ping 35:11 Downloading things - wget 35:51 Getting the date - date 36:18 Calendar - cal 36:23 Calculator - bc 36:56 Configuring shell aliases - .bashrc editing 38:21 Updating Debian-based systems - apt update && apt upgrade
@toufiknopixl99733 жыл бұрын
You're a hero
@JessicaFEREM3 жыл бұрын
hey DT, copy and paste this into the description, after some time, it'll pop up as a chapter select on youtube.
@pop4ti3 жыл бұрын
Thank you!
@14u2ponder3 жыл бұрын
I don't think kill, chmod, wget, sed, ping, aliases, are beginners subjects. I also think you should include something about ed (or how to make a file).
@keylanoslokj18063 жыл бұрын
At around 40:00 when creating the "aptup" alias, the system recommended i don't do it there directly, but at a seperate bash aliases file. Can you do a tutorial on how to do that?
@raymondgradzewicz3 жыл бұрын
Do I already know how to use the terminal? Yes. Am I still going to watch the video? Yes.
@kevyyar3 жыл бұрын
Lol I feel the same way
@favor943 жыл бұрын
@Learn Linux this thing sometimes happen with me, thats why i watch any tutorial pops out on my timeline
@mskiptr3 жыл бұрын
Well, u just learned that `rmdir` exists. Been using `tree $dir`, `rm -r $dir` untill now…
@raymondgradzewicz3 жыл бұрын
@@mskiptr I actually knew that one already.
@mskiptr3 жыл бұрын
@@raymondgradzewicz *I Sorry for that typo; indeed quite misleading
@amjedbelgacem82183 жыл бұрын
this 42 min long video is literally worth a 4 hours lecture at the university, great delivery, simple and straight to the point. you earned a sub, keep the good work !
@zhaadd2 жыл бұрын
university is very redundant in almost everything tbh
@amjedbelgacem82182 жыл бұрын
@@zhaadd couldn’t agree more
@im-a-trailblazer Жыл бұрын
I think even more, the way he lays out the difference and best use cases for cat, less and grep for example. Could be a multi day or week dive into getting to grips with everything. He also earned me as a sub. I am not using arch btw
@lindarampone11075 ай бұрын
@@im-a-trailblazerI'm not done with this video yet, what is Arch?
@chrishayward35203 жыл бұрын
Those chips were just teasing me the whole time! I'm ready for the party size!
@DistroTube3 жыл бұрын
Shortly after recording this, I plunged headfirst into that bag of Lay's. I should know better than to buy the big Family Size bags of chips.
@guyincognito56633 жыл бұрын
“I’ll just eat a couple and leave some for later” Sure you will.
@curvesoftcomputerco.99283 жыл бұрын
@@DistroTube Nothing like a classic Lay's though. Lol!
@josephsagotti87863 жыл бұрын
We need some of these every once in a while
@akirubamiru67003 жыл бұрын
Derek that a great video not for beginner but also good for revision although could you do stamps times? Thank you Derek!
@LinuxClassroom3 жыл бұрын
Having taught Linux for several years now, most students really struggle with paths. It seems to be so abstract for many beginners.
@LinuxClassroom3 жыл бұрын
@Learn Linux Absolutely! I love my job.
@sigmundfreud44723 жыл бұрын
😍
@BlackHawk20293 жыл бұрын
Yeah the Linux file system is REALLY foreign for anyone coming from another OS. I'm 6 months in running Kubuntu as my primary OS and I still struggle with it occasionally.
@rizkyadiyanto79223 жыл бұрын
@Learn Linux whats so hard about it?
@jon-h3 жыл бұрын
@Terminalforlife (LL) Windows is actually the only outlier as far as PC OS are concerned. BSD-Unix, GNU/Linux, GNU/Hurd and MacOS are all filesystem hierarchy compliant. MacOS is just very clever to hide this fact from the user. If you have trouble with the filesystem hierarchy, I'd urge you to read the reference documentation: refspecs.linuxfoundation.org/fhs It goes into great detail about not only where everything is, but also why it is where it is specifically.
@im-a-trailblazer Жыл бұрын
I literally changed this comment 3 times. This is exactly the video i was looking for. U answered a lot of questions i had about commands in the terminal i built up the last weeks. Great stuff man love it.
@AgentFortySeven473 жыл бұрын
DT you are the best Linux teacher I could ever ask for. This is such a helpful guide to the Linux terminal and you go at a really good pace. You explain things in a very clear way and I find this tutorial very easy to follow. Keep up the amazing work!
@NomdePlume3372 жыл бұрын
I’ve been learning Linux for the last couple weeks and this is by far the best video I’ve found so far
@Soochoup2 жыл бұрын
Solid tutorial; Not a beginner but discovered a thing or two. Never hurts to go back to the basics !
@noahlomax1 Жыл бұрын
This is one of the GREATEST beginner Linux tutorials on KZbin. Thank you very much for this course of yours, sir. I've also subscribed for more.
@benjaminsurname55846 ай бұрын
This is by far the quickest and most useful terminal tutorial I have ever seen. Densely packed with all the info you need to get started dicking around in the weird world of computers that act like actual computers.
@lindarampone11075 ай бұрын
Definitely densely packed and well taught
@MRC_MRC Жыл бұрын
you're an amazing teacher, in a first 4 minutes I learned more that other 20 minutes videos
@abdourahman87 Жыл бұрын
I absolutely recommend anyone new top linux to watch this video.Its covers most of if not all the basic commands of the terminal Thanks DT☺
@skatterbrainz4 ай бұрын
This is awesome! I've been working with UNIX, Linux and Windows for decades. So many things sysadmins (myself included) take for granted, but I meet a lot of junior level employees that never learned some of these basic concepts or practices. I'm pointing them to this video from now on. Most older IT folks don't have the patience to teach this so thoroughly. Well done!
@SearchFT3 жыл бұрын
In less than 5min you tought me more than I expected. Thanks a lot for this video. Will rewatch it a few times, making notes 🙏
@noam653 жыл бұрын
Hey DT, I was a Unix system admin for many years. I got my first taste of it 34 years ago. I knew most of this, but you still managed to teach me a few new tricks. Thanks. You missed your calling... I know you like retail a lot, but you are also an awesome teacher/trainer. That is a rare skill. Kudos!
@bobwright80003 жыл бұрын
Linux has been my daily driver for years, but I watched this just to see if there was anything I could learn. Sure enough, I have always used "cd .." to go up a directory. I never knew "cd -" would work also. Great job.
@dandandrorivolleyball3 жыл бұрын
I mapped "cd .." to ".." in my bash_aliases a few months back and it feels amazing! I also love the shopt auto cd option in bash that lets me write the directory name without cd before it and it just cd's into it :)
@dandandrorivolleyball3 жыл бұрын
Sorry, the command that lets you cd without typing "cd" is shopt -s autocd
@kiiikoooPT3 жыл бұрын
yeap that is a windows thing I think, I also use that to go back and cd . go back to root :)
@yash11522 жыл бұрын
cd - doesnt take u up one dir, it takes u back to which directory you were before this one. and that might be up / down / side / anywhere. example, say i am in abc/def and you `cd xyz/uvw`. then `cd -` will bring you to that abc/def path, not xyz like cd .. would
@bobwright80002 жыл бұрын
@@yash1152 Thanks Yash
@michaelpezzulo44132 жыл бұрын
It has been 3 1/2 years since my intro to Linux course, and this is a great review.
@daftmario1233 жыл бұрын
Thanks dude, this was helpful. I've used Linux in the past and executed commands in the terminal, but I would just copy/paste the commands and not really understand what they meant or what exactly was going on. This helped fill in the gaps I had.
@kardelenaydogan3793 Жыл бұрын
i cant thank you enough for this video. i just started the odin project, installed a dual boot but the linux terminal always confused me. i just watched your video and the way you teach is excellent!!! thank you so much.
@RiKo-uh9ot2 жыл бұрын
Great video, haven't finished it yet, but I really wanted to leave a good feed-back here. So far so good.
@lumar52333 жыл бұрын
I use LinuxMint 20.1 XFCE and the terminal app that came with Linux on my old Toshiba. To increase the text size on my terminal, I had to press the CTRL key and the SHIFT key together and tap the + key. When I pressed only the CTRL key and tapped the + key, the = sign would show on the command line. Using only the CTRL key and tapping the minus key, the text would become smaller. I am using a Toshiba Satellite C55-B5250, bought around 2015. Thanks for the easy to follow terminal video. :
@ShaunakHub3 жыл бұрын
An excellent video. Will be immensely helpful for new users. Really appreciate the work you doing for everyone. Thankfully I was never scared of the Terminal as I come from the MS-DOS days 😀
@currentlykent45933 жыл бұрын
Getting into this at the ripe age of 36. This was extremely helpful. Much obliged.
@glenngenoway79903 жыл бұрын
Thank you for that teaching! I'm one of those who will be reviewing this information several times as I learn to use the command line.
@irascib1e2 жыл бұрын
my favorite unintentional ASMR video. Linux tips are good too
@jakealbertson11302 жыл бұрын
Thank you. New to Linux and this answered a lot of questions I had.
@pawel40993 жыл бұрын
Thanks a lot. I went linux(mint)-only like 3 moths ago and still not properly aquired basic bash so this video is EXACTLY what i needed ;)
@joshstrawder3 жыл бұрын
I’ve learned more about using Linux from this channel than I have about just customizing Linux...
@rajmah1632 жыл бұрын
DT , my son moved to linux because of you. I been using Linux on my "old" laptop 💻 and it work well. zoom works and the downside it's the battery drain fastly. love you from Malaysia 🇲🇾
@testchannel-ignore9559 Жыл бұрын
What you said about moving, copying, creating deleting files via a terminal is so true. I liked the tip about asking beginners to re-watch, and try the commands. Of course I am an old hat at this, but was looking for a video for co-workers.
@CF542 Жыл бұрын
This is a really great video intro to the command line. Do you have a video on finding and attaching local and network drives?
@yashpandey3502 жыл бұрын
alias commands are dope, I am in love with alias commands literally I'm using them daily for a lot of tasks.
@yashpandey3502 жыл бұрын
@@etishome4099 Think in this way, I have multiple projects and I have distributed in separate folder so instead of cd .... I can simply make an alias for projects, fronted projects, backend, movies.....When you have few things its okay to avoid but when your work is in different folders everyday you need alias for that.🙂🙂🙂🙂
@yashpandey3502 жыл бұрын
@@etishome4099 I know most of the cmd command bro, Sorry I misjudged the question. 😊😊😊😊
@Prophet60003 жыл бұрын
This is a great video i just started learning and understanding the terminal this week.
@angelica1010Ай бұрын
Just wow you did such an amazing job explaining everything perfectly and straight to the point!! I have an exam tomorrow and this video is helping me so much thank you🙏🏻
@sambathleluyer640 Жыл бұрын
Thanks a lot. This is valuable for me, a new beginner into Linux Realm.
@ScottKentEdu Жыл бұрын
This was awesome. Thank you for the video. Made so much more sense than trying to figure it out on my own.
@ageema2 жыл бұрын
Derek Taylor, You are a hero! This is tutorial works for us os x folks too.
@aloucks83 жыл бұрын
This is a perfect video for learning Bash
@tikutiku23683 жыл бұрын
State-of-the-art tutorial. Thanks for sharing!😎
@xk21023 жыл бұрын
Thank you DT! (for your keeping (me) company and your videos i've been binge-watching, not just this one..!)
@DistroTube3 жыл бұрын
Glad you like them!
@poisonpotato12 жыл бұрын
This brings me back to 2014. Freshman year of college we had to learn all of this in a required course that was prerequisite for every engineering major
@akshatkumargems Жыл бұрын
Thank you so much for sharing your knowledge on Linux terminal for beginners! Your explanations and jokes made the learning process so much more enjoyable and approachable. Your guide was instrumental in helping me get a better understanding of the Linux terminal and I appreciate all the time and effort you put into creating it. Your passion for teaching and commitment to helping others truly shines through. Keep up the great work and I look forward to learning more from you in the future! 💌💌
@ped7g3 жыл бұрын
about `touch` - this subtle command does not only create file if it does not exist, but if it does exist, touch will keep it intact, but modify date of last modification (as if you re-saved it just now with same content) ^^^ this is quite handy functionality when you have some other tool depending on date of files, like building-systems or archiving (the "create file" functionality can be achieved by many other ways, but the "refresh the file date" is the main point of existence of `touch`)
@XGames_Mrated2 жыл бұрын
This was really encouraging to watch. Really helpful to improve my work
@dmays673 жыл бұрын
11min in and already learning new stuff. Nice!
@giovannikomis9805 Жыл бұрын
Excellent work, one of the best tutorials about beginning learn Linux.
@wertywerrtyson5529 Жыл бұрын
I’ve stayed away from the terminal as much as possible for 20 years. I never understood the point of a text interface when you have a graphical interface. It felt like using DOS when I was a little kid. I quickly left that when Windows 95 came out and never really bothered with DOS again. But now I want to learn terminal a bit more. It helped solve an issue I had with Kubuntu.
@sebastianucero7535 Жыл бұрын
A very packed but most useful video on the Terminal so far. Thank You so so much.
@2009researcher Жыл бұрын
I applaud channels like this. Here's why. These resources are introducing people to our other options. I converted my computers to Linux a while back. I have no regrets at all. I got tired of questionable operating system behavior which included ads and popups. Since I put Linux MX on some machines and Linux Zorin on others, I'm experiencing nice tight operating systems that 'I' can trust. No ads. No popups. No operating system stubbornness. It just works! In my case, I had another observation. The amount of time I'd observe how often my hard drive and internet lights would be working when nobody is using the machines. With Linux I don't see this activity with these lights. An occasional flicker or two, but no 10 minute sessions of watching these lights showing activity. I'm fond of Linux MX because it lets you change the OS system Icon images. I put my business logo on the start button. I'm a very happy Linux user. Very happy. 👍
@aronwomack3593 жыл бұрын
Love your videos man, you got me wanting to try Arch out. I'm running windows 11, and Ubuntu on a cheap laptop, and your videos have been priceless.
@jtjones47273 жыл бұрын
Wow this is an awesome video. I'm not a linux beginner by any means, but I'm no advanced user either. Maybe intermediate. Anyhow, this was great. Just started the video a few mins back and I've already learned some basic things I should have already known, but somehow missed. Thanks.
@mojommojom7098 Жыл бұрын
+1 to the previous comment, earned a sub because of this video. Great delivery and straight to the point. Thx
@KingBawb-wg3jo3 жыл бұрын
Loved the video. I guess since I knew all these I'm no longer a beginner...lol yeah right. Still a beginner. I also would've also added "cd .." to go back one directory. At least I use that one a lot.
@jasonk44422 жыл бұрын
Thank you very much you are very easy to follow along with you should do entire sets of terminal tutorials heck I would even pay for them.
@cgcauldron5427 Жыл бұрын
Epic! I've gone through many other tuts, and this one is way on top. Thx a lot!
@jimbo-dev3 жыл бұрын
If you are a real beginner and wondering if the terminal is really worth the time Yes it is! You get similar productivity boost from terminal as from learning 10 finger typing over self taught. But terminal has been easier to learn for me at least
@目は心の鏡2 жыл бұрын
Run "man intro", it's a great intro (obviously) to using the Terminal. "info" is good on systems that support it but a bit harder to move around navigate. "man man" is another good place to start, and then from there "man command" (insert any command to learn about). Also "cd --help" or "command --help" is a good cheat sheet. depending your shell (most often bash), "man bash" will get more in depth. "man zsh" would be for the ZSH shell. If you want a bonus to take things to the next next level. Full screen your terminal, get rid of any menu bars or scrollbars, and then run "byobu" to get a terminal multiplexer (window manager) to split the terminal, have multiple tabs, print system info on status bar, pretty much a terminal based GUI so you aren't stuck in a single shell and can start multitasking similar to having multiple GUI windows open but way more efficient and hacker--ish haha.
@busyrand2 жыл бұрын
Thank you abundantly for this thorough, grounded instruction... This program was a joy to work through. Lots of my fears were relieved and I'm no longer walking on eggshells as a new Linux Mint user... I have previous experience with Windows Subsystem for Linux for a couple years, bu this is still a different animal with a new file system. Well done.
@ChuckLandry2 жыл бұрын
Just found this video and first time seeing your channel. VERY easy to follow and great information for someone new like me. Thank you!
@pewolo_nyenh11 ай бұрын
19:55 where you mentioned "'echo" not being able to recognize newline characters; It actually does. You just have to tell echo that you have specials characters in the text with the -e flag. So echo -e "1 2 3" does the same as printf "1 2 3"
@aaron69420-u3 жыл бұрын
Good stuff. I was able to learn a thing or two even though I've been using linux for quite awhile now. Really cool that you covered bc. One of my college professors actually helped write it!
As someone who has been used to be with windows for decades and just recently actively discovered Linux as "the new World", I'm impressed 🤩
@BrewmasterN8 Жыл бұрын
Im new! I am still learning but I have to say, if anyone else is learning alone like i am, then pit your frustrations to the side and keep trying. it is tough but you will get better at it before you even realize it. 😂 one day you will be watching a video like this and realize you need to fast forward because you know this stuff. 😎 I can navigate linux but not confidently,. I still cant really manipulate it very well. ..Took me many hours to finally get my external network adapter and Bluetooth mouse installed. I wasted a lot of time taking chillaxin breaks 😅 I probably already forgot how i did it. Videos like these are very helpful though and I am always searching for more. Thnak you
@ivyndane10 Жыл бұрын
Woow so happy for you can I install it on my android phone
@kiwon19743 жыл бұрын
Really nice, using Linux for 2 months and learned 3,4 commands. Could you please do a intermediary guide too?
@chris-terrell-liveactive Жыл бұрын
Very helpful as I begin working with Linux, i haven't seen anything else on using terminal commands so this is an excellent reference thank you.
@tylalikesfood2 жыл бұрын
Extremely useful for a beginner trying to learn to bash in a terminal window, really needed this for work as I'm expected to handle linux and ubuntu OS based systems.
@Valkebab2 жыл бұрын
Thank you so much! I'm very new to Linux and this helped me a lot
@Magnetron6923 жыл бұрын
Hi Derek, many thanks! Dankeschön from Germany 😃👍🏻 Best wishes, Ralf
@origenadamantine78753 жыл бұрын
Thanks so much DT! This is terrific.
@ogrejd2 жыл бұрын
@21:50 - Huh. No mention that "less" output can be navigated via the page Up, Down, Home and End keys and able to search with / & ? (/forwardspattern, ?backwardspattern). Navigating via Enter/Return is insanely inefficient.
@spectregaming18882 жыл бұрын
Fantastic work! Great information and pacing. Thank you
@ivyndane10 Жыл бұрын
My first day watching linux commands after ccna certification just picking one or two commands thanks very much
@xDarkPx11 ай бұрын
I just started "Introduction to Operating Systems" two weeks ago and I am so slow and lost. I was able to complete my assignments, but they came with step by step instructions. This is some really intimidating stuff for a guy who left high school and has been working dead end jobs for 20 years. I decided to just pick something, and that was a Cybersecurity Program. If you have any tips, I welcome your advice because this video taught me a lot in under an hour. Thanks!!!
@INhumanLAST3 жыл бұрын
Thank you for the great tutorials , thanks to you I really learnt the use of terminal and vim Linux is fun again. Please share more fun things
@MelsRNRETRO Жыл бұрын
Been Interested in learning Linux and your video is Excellent. TYVM 🤠
@dawitsolomon21192 жыл бұрын
sincerely Thank you ,this is eye opening .
@RobertGuilman3 жыл бұрын
I thoughts it was weird when i first heard Indian accent in a video teaching me computer science, turns out its even weirder hearing a Southern accent in a video teaching me computer science. Jokes aside, its a great video with clear explanation. Good job
@Colaholiker3 жыл бұрын
I have been using Linux for a long time in parallel with Windows and exclusively for more than one and a half yearas, but I didn't know that there is a printf command. I am familiar with printf as a c function, but it was this video that taught me about the Linux command with the same name.
@italinhorn44553 жыл бұрын
Yooo DT thanks for the video I just got into recently so this is a great help.
@darylwayne6112 жыл бұрын
Awesome video! You made this so easy to learn! Thank you!
@thepracticalhowtohomebrewman5 ай бұрын
Absolutely amazing video mate thank you so much for this. I can't want to watch it again and again. There was some real gems in here. I have been using terminal for the past 6 years and only ever repeated the same commands cd.. ls, cat, this video opened up a whole new world for me in terminal and I can't wait to have a play 💪😜🤙 11/10
@richardtwyning3 жыл бұрын
I've been using Linux at home on all my machines for ten years, but I always enjoy videos on using the terminal. You can ALWAYS learn a new trick or two, even after ten years :-)
@joschafinger1263 жыл бұрын
37:47 : It's generally wiser not to mess with .bashrc directly: rather create a file ~/.bashaliases (you'll find a reference in your .bashrc) and work with that. Screwing up .bashrc is a major headache at the least, while deleting .bashaliases is just resetting to defaults, under normal circumstances.
@gimcrack5553 жыл бұрын
The first commands that I learned. I always called them navigation commands. Which is the main commands you run daily. People always ask how can you remember these commands. Well repetition for one thing. I always start with 10 commands. Learn them well, until it's burn into memory. Then go to the next 10 commands. Repeat until you get to 100 commands by heart.
@RO-st8wh6 ай бұрын
Thanks for this step by step tutorial. Just instal linux last night on vm. Trying things out
@lindarampone11075 ай бұрын
YOU are an EXCELLENT TEACHER. I've spent at least 2 hours on the first 14 min. Taking tons of notes and really visualizing and absorbing, learning the commands. I don't know what kind of USB stick to use to flash the ISO for Linux mint to install on my Windows 10 computer. Any advice appreciated. I want to play asap.
@ot0b2 жыл бұрын
I installed linux for the first time & this was fun. Thanks.
@MichaelVash78863 жыл бұрын
Nice. I knew a lot of these but did not realize 'cd' would go to home and 'cd -' would go back to the previous folder I was in. Kept expecting to hear about 'cd ..' to go up a level
@bobpeters612 жыл бұрын
I feel you on the terminal commands bit. "Can you recommend a video that will teach a total newbie everything about the terminal?" is sort of like, "I just bought my first guitar and don't even know a single cord. Can you recommend a video that will get me jamming like (insert your favorite superstar guitarist here)?"
@ELI5today3 жыл бұрын
This was fantastic, thank you!
@DistroTube3 жыл бұрын
Glad it was helpful!
@synen2 жыл бұрын
Is DT the best Linux youtuber out there? Been watching him for months and the amount of gems he has over the years is insane !
@petergeorgiev68763 жыл бұрын
Well finally something meaningful... Congrats on this video!
@geraltofrivia__w.w.75133 жыл бұрын
Have you ever considered making complete video guides in order for " noobs to poweruser". With the whole purpose to get them started on an Arch distro. I think you have the talent and the skills to educate us starting in linux.
@fatflamingo6599 Жыл бұрын
thank you for making this free
@rapunzel_one_love2 жыл бұрын
Thank you sooooo much! Best channel to learn linux😊
@MrMiroto2 жыл бұрын
Wow. On point, very dense information. Great work!