Linux Sysadmin Basics 02 -- Basic Commands
This video covers the ABSOLUTE BASICS of the Linux command-line. You'll learn the basic commands for moving around the filesystem and doing basic tasks in the Linux shell (command-line). We cover:
pwd -- How to see which directory you're in.
ls -- How to list stuff in a Linux directory.
cd -- How to change directory in Linux.
mv -- How to move and rename files in Linux.
rm -- How to remove files and directories in Linux.
rmdir -- How to delete directories in Linux.
touch -- How to create an empty file.
mkdir -- How to create a directory in Linux.
man -- How to get help in Linux: "manual" (help) pages. SUPER IMPORTANT!!
By the end of this video, you should be comfortable with the basics of the Linux command-line!
###################
More Free Linux Tutorials
###################
My step-by-step project-based Linux course for beginners: www.udemy.com/...
Free Linux Sysadmin Course Playlist: • The Linux Basics Cours...
DigitalOcean referral link: m.do.co/c/0380...
Patreon: / tutorialinux
Official Site & e-mail list: tutorialinux.com/
Twitter: / tutorialinux
Facebook: / tutorialinux
Podcast: kernelpanicpodc...
Пікірлер: 340
now I know that if you'll ever be my interviewer, that I'll only need to say that Deus Ex is the best game ever made and I'll get hired
@tutoriaLinux
4 жыл бұрын
Absolutely correct. I'm trying to secretly build a team of massive Deus Ex fans who will design and implement the best cyberpunk infrastructure of all time!
I just can't believe there exist two individuals who did not like this particular tutorial! It goes to show you, you can't please everybody. I LIKE IT, thanks Dave
@tutoriaLinux
9 жыл бұрын
+John Richardson II Thanks man :-D
@dangnabbit1379
7 жыл бұрын
tutoriaLinux dunno, I'm glad someone has the patience but tbh I feel a bit like the crows that were taught English watching other crows trying to learn
@GlitterGlitchy
7 жыл бұрын
John Richardson II now there is 18. I wonder if he still thinks deus ex is the greatest game ever
@tutoriaLinux
7 жыл бұрын
Witcher 3 is pretty good, but Deus Ex is still my favorite. Can't fight the nostalgia.
@nickyyyyy
7 жыл бұрын
Witcher is just amazing mate. Truly love this game. Deux Ex feals so old now... Thanks for the video. That was very informative :-)
who else is watching in 2017???? am loving the tutorials, they are very helpful, thumbs up..... you have made linux life so easy and enjoyable, thank you.
Thanks for this!! also, "you have to become someone who researches before asking questions" 24k GOLD!
Toggling between the last two directories is very useful sometimes. It's done with.. cd -
@prajjwalsingh6490
4 жыл бұрын
Thanks, that's really cool.
I can't believe you made 27 minutes of bash tutorial feel like a fun 5 minute video. Awesome channel, I'm gonna go through this whole playlist!
@tutorialLinux if it's cool, i'll drop my notes on every video i'm going to follow over the next few months. if you'd rather i don't, i'll delete this one and won't do it on the next. Cheers for the videos, finally something that is easy enough to understand, but thorough enough to get me where i want to go. Chapter 1: Linux Sysadmin Basics 02 -- Basic Commands -------General notes:---------------------- Terminal, Command-line and Shell can (for now) be considered all the same thing Shell prompt is the symbol right before you start typing. In bash the prompt is indicated with a dollar symbol "$" user@machineName:~/location$ who, on what, where and prompt. Flags/options can be added to commands, to make them more specific. They are indicated with a "-" followed by the flag/option. example: ls -a -> shows all files (hidden and non-hidden) "." is the current directory ".." is the ONE UP directory Generally the command line works like this: Command argument directory/location And always the SOURCE and then the TARGET. --------Notes on symbols and codes:---------- ~ is the home directory (different per user) /home/user / is the root directory (very base of the system/highest directory) --------Basic Codes:-------------------------- man MANUAL (man followed by command provides you the options/flags and explains what they are for that command) man man how to use the MANUAL pwd print working directory (current directory you're in) ls list (folders and files in current directory) ls can be flagged with "-" and an additional command ls can also have a path defined to show the contents of that directory "/..." cd change directory (just "cd" will bring you to your home folder) cd requires a starting slash (/.../) when changing directory from the root (long directories) cd does not require a starting slash (.../) when you are in a directory (for example home) because root is already indicated in the shell prompt. cd.. change directory UP (closer to root) ----------Making files:-------------------------- touch followed by file name and type (e.g. aNewNote.txt) cat followed by the file name shows the entire content of a text file mkdir followed by a name makes a new directory (folder) with that name. no spaces! otherwise it will make multiple directories based on the amount of words you used. rm removes a file rmdir removes a directory -----------Things and places:---------------------- boot/ everything used to boot your system dev/ devices - where your hardware is mounted
@tutoriaLinux
5 жыл бұрын
This is fantastic; thank you so much!
ive watched many tutorials already and youre the first one to show the command 'man' ...thank you so much! googling linux issues always leads to nowhere for me...
I have been using Linux for eight years now and I have learned a lot of these commands the hard way through trial and error, but I am glad I have found these tutorials. They are helping to make since of the flags and other commands that I did not know like 'man'. If I would have just know that command it would have saved me a lot of time on forums asking questions that I could have researched myself. Thank you for the videos.
Looking for Linux command line lessons and saw you think the first Deus Ex is the best game ever made; Instantly knew I had come to the right place!
this guys youtube channel litterly started by him trying to teach his friend linux but remembering that he can put it online so others can learn !!!! i cant believe it ! i love you
Your videos are great to refresh your memory. I just finished getting my Cybersecurity Bachelor's degree. They just threw some much in such a short span of time that it was hard to remember it all. But your videos help me out review and refresh. I first got started learning DOS back in the day then Redhat Linux and Unix then Fedora. I have an iMac G3 400 running OX 10.3.9 which is BSD Unix and yes it still boots up when I have a working PRAM battery. But thank you for posting these videos they are a huge help for me. Heck I have Termux running on my Android tablet to play around and experiment.
Thank you so much for starting at the basics, going deliberately slow with repetition building muscle memory. Building a foundation before moving to more. Thank you for excellent work!
Basic commands? More like "One of the best tutorials in the land!" Thanks again so much for making all these videos.
Day 1 with your tutorial... and I'm all giddy creating and moving text files with the terminal. I've been wanting to learn linux for so long. Thank you for making these videos.
@tutoriaLinux
7 жыл бұрын
Awesome! Keep that motivation going, this stuff is so much fun if you take the pressure off and just focus on learning/experimenting. Cheers!
Great tutorial btw. Ive been playing around with linux for awhile now but without any formal education. Just picking up bits and pieces here and there. I started exploring Tails, Kali Linux, and Ubuntu because Ive always been interested in OPSEC and Pen-Testing. Props to tutorialLinux for introducing me to the basics since a foundation is extremely important and I will continue to glean the information given in the rest of the tutorials.
@ZnXii
7 жыл бұрын
newgen
Tks for your godo work. JF from Canada. Come from the Mac world, Windows World, using Linux for server years as a simple user now trying do get food at it... ( former IT, come from BBS world, Dos, WIndows, MAc, Commodore, Basic etc)... You video are " super " !!!!
Related to man-pages: newbies want to find out, how many 'commands' there are. They want a list of names, in order to read the man-page of a certain command, since knowing that there's a manual for every command is worthless, when you don't know the commands name. Use the TAB-key and bash will give you that list. i.e. type a letter, say a hit TAB-key twice and you'll get all the commands that start with an a. Plough yourself through the alphabet this way.
@MachineOverlords
8 жыл бұрын
+FreeSoftware Thank you for that tip. I'm not a newbie to Linux, but I didn't know you could list commands like that. Sometimes I'll know a command but have a mental block and can only remember what the command started with, and your tip will definitely help get past that.
@GNU_Linux_for_good
8 жыл бұрын
+MachineOverlords great! Nice pictogram ;-) btw: Have you ever thought about giving zsh a try? All in all it's a very complex matter, but it has a very sophisticated completion-system/creating own functions/regular expressions, and many, many things more. Get my zshrc with.. wget www.koydl.de/.zshrc
@brianrenonshabazz6453
4 жыл бұрын
Thanks for the info! :-)
Learning Linux to become a linux admin after 5 years of windows.... Your tutorials are very helpfull ty so much.
Thanks for the videos. I'm just a general HT PC user but ever since ditching windows for linux I've been curious about the terminal & Linux in general. We'll see how far I get with your tutorials. So far so good.
2024 and started on this awesome tutorial I like your enthusiasm, find all of these fascinating, again thank you!!!
Thank you for producing this high quality video and please ignore any comments about the keyboard. Some people refuse to be pleased.
Darn good job here Mate! Nice and fluid; well explained; and well worth anyone at an entry level to Linux to watch.
Really productive teaching style. Calm and to the point.
New subscriber here. This channel just went from awesome to next level with the Deus Ex intro. Game absolutely is the greatest ever and does not get the credit it deserves.
@tutoriaLinux
3 жыл бұрын
I gotta start putting random deus ex gameplay clips in my videos again. I don’t know what happened, I used to be cool. Cheers!
Actually, the "myawesomefile.txt~" is created by "gedit" when you save. If the file you're saving to already exists, then that file is renamed with a "~" at the end. It's a very simple backup system that keeps around the last save. So if you made some catastrophic mistake and saved it, then the "~" file will be what it used to be at the last save (it's basically the old file renamed). If you save twice, though, then it's gone. This simple backup system is only retaining the last save. You can only "undo" once. But it's a sometimes useful facility that has saved my arse once or twice (and you can turn it off in the gedit options anyway, if it really annoys you).
Deus Ex was my favorite game ever when I was a kid! nice!
Dave, I am David. David's are the best. Thank you for your videos
Great stuff for Linux users. BTW, a noisy or over mic-ed keyboard has the same effect as when the speaker is chewing gum and smacking it during the presentation.
Thank you for sharing this knowledge with us! Great video
I had no idea tab completion existed in linux. With my ocd forcing me to name files with things like "io_and_logical_operators_test" you just saved me a ton of time and annoyance. +Liked this video for that alone.
These are awesome instructions that you give. I've been using Linux for years and still just learned some new tricks that sped things up for me. 👍 I'm looking forward to seeing more and typing with you.
Thank you very much, you have a good pedagogy, practice is the key and you make it clear to us, thank you also to youtube for offering us a translation (sometimes not obvious but very useful) for those who do not understand this level of English.
I'm watching, and following on a mint laptop (with the cinnamon UI) atm. And its 2019. So far, everything works the same.
Thanks for making nice videos...Its better to listen you rather then wasting money in study center . Again thank you
Came here in 2021.. Hoping to land a job in a DevOps role. Pushing myself to be learn something new every day and it starts here!
Seeing that terminal has inspired me to get back into this. Good job man.
Thanks a lot Dave. Too good for people who want to understand Linux Operating system. Helping me a lot. Enjoying Linux. Its all Fun with commands as you mentioned. It has improved my typing speed :-)
yep, this is really good course, not talking too much about boring stuff great job!
Many thanks Dave for all of your work. U will watch and learn
Best linux tutorial videos on YT, thank you so much..
Straight to the point useful in day to day ops great tutorial
Hi Mate you definitely have the teaching knack brilliant video and correct speed, thanks a lot.
Excellent tutorial, I'm currently working in a Windows shop but, I've been dabbling with various open-source OS's for a number of years. I would get fairly familiar with the commands, but because I'm not support any Linux systems in my work environment I would always tend to fall off the wagon. What I have noticed of the past year or so, organizations are now looking for IT personal with Linux and Windows experience. Your tutorial has got me pretty hyped again, I think I'll use you training along with some other training material for the Linux + certification. Good Job man, thanks for sharing your knowledge...
@tutoriaLinux
7 жыл бұрын
Awesome! Yeah, don't be afraid to jump in. I started on the Windows admin side too (thankfully with a hybrid Windows/Linux job), and a lot of the 'common sense' Sysadmin stuff (be cautious, automate things, think about security implications) will transfer perfectly between Windows and Linux. The commands are the easy part, and thankfully you don't have to memorize everything there is :-). Sounds like you've got a great plan -- jump in and have fun!
This hurts. This hurts so badly. I have been using linux for like 8 years, even worked like an embedded C programmer where I was using mostly linux and I still have not learned to use "man" command. OMG. Thank you very much
Awesome! Thanks for taking the time. These videos are exactly what I needed. Thanks again!
Greatest game ever made indeed!
@fingerlingus7756
6 жыл бұрын
Its close. Definitely top 10. But, for me, not #1. That honor goes to Mass Effect 2.
"Angle bracket..? What am I smoking" made me chuckle for some reason, probably out of sympathy, often feels like I been smoking some way too strong shit even when I haven't haha. Anyway this looks to be a good series, already know all this stuff but thought I'd brush up before tackling the harder stuff. Thanks for doing these :)
haha cool, not only did i find a great teacher, but also a great gamer, i love Deus Ex too :) and its 9 years since your clip
@tutoriaLinux
9 күн бұрын
I'm going to put more deus ex content into my videos. Life is short and we need to enjoy it :-D
NO WAY! I love Deus Ex, too. One of the greatest games ever. The ambiance, sound track, story. Everything about this game is so cool. I think they should do a re-boot with better graphics (same audio, though). Also, thank you for these videos.
@tutoriaLinux
10 күн бұрын
I should do more subtly Deus Ex themed content again, that was fun.
@flavioroloff
10 күн бұрын
@@tutoriaLinux That was the cherry on top, man. You have great content.
Navigating through the system is fine, but sometimes we need more information about a file. To explore a file a little deeper, type file and you'll get specifics, what kind of file it is.
cd will do, brings you home/ (no ~ needed). Very good explained.
you're a really good teacher bro
Dude! You are my 'man'! Getting it? man? Ducking love you!! Blessed be your bear!
man I love the sound of that old keyboard
Thanks man, so much information on it. Very detailed and well explained, loved it.
Thanks. I am trying this out because of windows 10. this is exactly what I neeed to go forward. Some of these are similar to dos, and some I have used flashing and Jtaging, and PFsense clearOS type consoles. Good lesson
Thank you for the video and for stating that Deus Ex is the greatest game, which I've known ever since I played the demo (before launching) back in 2000 :)
@tutoriaLinux
11 ай бұрын
Truth. Yes, I remember the demo -- Liberty Island. Hits my nostalgia button HARD. Music: kzread.info/dash/bejne/ZKWhq7V7aNGXmbg.html
congrats for the video brow.. it was a long time ago, but it still very usefull!!
thank you, for this. im currently starting off in your tutorials (and of course, im on this lesson), and plan to complete them! again, thank you
@tutoriaLinux
5 жыл бұрын
Have fun! Let me know if you run into any questions that you can't answer with some googling. Cheers!
Two things: 1-you do not need to put the / after the folder name 2-know any command to roll back ONE folder, without going back to root? Great videos, thanks it's helpful!
@nathangearing8978
7 жыл бұрын
Urgence Pc You can do 'cd ..' to move up one directory
@urgencepc4563
7 жыл бұрын
Ah! in Dos it was cd.. linux... there's a SPACE between cd and ".." Tssk.
Awesome video. A bit repetitive but great video for the basics.
Amazing classes, Bro. My name is Rodrigo, I am from Brazil and I have just started watching your video classes, really awesome man, congrats from Brazil!
I will pay you to keep making videos. You make the only good linux videos on youtube.
@tutoriaLinux
7 жыл бұрын
Hah, I'm honored, thank you. Patreon works well -- thanks for helping me grow this thing! That said, there are plenty of good channels on YT. Brian Will's stuff is fantastic, for example: kzread.infovideos
Beautiful, really beautiful. Thank you!
That beginning bro! haha cool and thanks!
Thanks, Dave. I abandoned the windows OS completely for linux (with no prior history of working with linux), and the videos are awesome sauce! I am committing to completing at least one part of this course each day, and supplementing that with figuring out how to get my windows programs to working in linux (checking out Wine now), so lets see where I am in 30 days. :) Ubuntu reminds me of a hybrid of Win3.11 & DOS, which is pretty cool.
@tutoriaLinux
7 жыл бұрын
Nice! That's great to hear. There's nothing better than running Linux as your everyday OS to really dive into learning it (and leave yourself no excuses :-D). I'd love feedback when you're done with those 30 days. Always looking to improve the videos. Good luck, and enjoy the trip!
@davidchen9850
7 жыл бұрын
tutoriaLinux Im taking notes as I go along, and Ill be more than happy to share some feedback when I am finished. For the record I am a "clean slate" with no prior Mac or Linux xp. I am familar with DOS, so the terminal doesnt freak me out. I'll like your vids as I make my way through them.
here is your engagement comment. love your sysadmin vids! this is my 2nd time thru
@tutoriaLinux
7 жыл бұрын
Awesome, thanks! Glad you liked the videos so much. Feedback is always appreciated; feel free to message me on YT.
What kind of people can dislike this tutorial??
Thank you so much!! ive been looking for this for .......about 2 days. lol Thanks alot Bro!!!!
This is why I liked Win 95 and 98. Command line control of the system was much easier than trying to navigate through the menu's only to find the item you wanted to change was "greyed out"(most frustrating bug I've ever had)
Thanks for the awesome video
"Bork" my favorite new word.
I love how it sounds like he is typing up a debriefing memo from the a supreme court ruling and all that really comes up is a ~. lol
A man of culture, looking at deus ex :D
Great video, thank you for posting this.
Great vids, making linux fun and accessible
i can't believe that you music recomendation is brazilian music haha CPM 22, Sertanejo and one remix. This was very unnexpected
Thanks a lot for the rich content
really enjoying these, thank you.
This would have been a good video to mention the -h or --help flag for commands. You can get a sort of quick help or list of flags for a command by typing it after the command like: touch --help , for instance.
Thank you , very Good course
Amazing instructor
Good video. Lots of good information. Only criticism is that your mic is picking up your pounding the heck out of your keyboard. Your poor return key!😟 It's distracting.
Thanks to you I got the job!
@tutoriaLinux
8 жыл бұрын
+Ricardo Bautista Congratulations! That is fantastic. Enjoy it, it's an amazing industry and you can pretty much shape your career however you want. Let me know if you have any requests :-). Cheers!
I don't know if you talked about this already but I was messing with 'mv' command and found out you can basically rename the file, in case you don't specify a directory to move into and instead, for example you have a fish.txt inside your current folder and you go: mv fish.txt shark.txt, then it basically renames to shark.
awesome! Thank you for your videos.
Good content!
Use *CTRL-L* to clear the screen!!
Dave thank you for all of your output, may I ask what is the black square that I can see in the slight left of centre of the screen?
Can I use mv command to change the name of a file? Because I tried it and works.
What's with the black square that pops up every once in a while ?
@tutoriaLinux
9 жыл бұрын
+galih141 Rendering artifact, sorry -- I'm a screencasting noob.
@stephenhill6791
5 жыл бұрын
I was just going to ask the same thing! It blocks some of the text I'm trying to read. Otherwise, it's a great beginner tutorial.
@crimescene25
5 жыл бұрын
The cursor is into some freaky shiat, and has to be censored.
I want that notification sound!
@tutoriaLinux
4 жыл бұрын
Sweet sweet deus ex.
Thank you, Dave!
@Queue ~ Dude! Please put this course on Udemy.com. The Linux courses on there suck so bad, they forced me to find your page. Plus I paid $10! You would make a killing with your course! I would definitely pay for what you have here!
@tutoriaLinux
7 жыл бұрын
Your wish is my command :-D -- I uploaded a course on Udemy about 6 months ago: www.udemy.com/hands-on-linux-self-hosted-wordpress-for-linux-beginners/?couponCode=tl35 That link has a ginormous discount already applied. Enjoy!
@mrsheabutter
7 жыл бұрын
Amazing!!!!! Thank you @tutorialLinux . Your teaching style is way easier to follow! Time to head to Udemy.com!
@mrsheabutter
7 жыл бұрын
Just bought your course! Thanks again man!
@mrsheabutter
7 жыл бұрын
Let me know whenever you post more! Although I have 41 of your KZread Playlist videos to get thru first! LOL
@tutoriaLinux
7 жыл бұрын
Awesome, thanks for checking out the course! Let me know how you liked the rest of the KZread videos -- feedback is always welcome. Feel free to send a PM.
Good Job!
Great work man thank you !
mv (move) is not only to move a file to another location - it can also be used to rename files.
Great linux tutorial
Man....... YOR ARE AWSOME.............. LOVE YOU SIR