60 Linux Commands you NEED to know (in 10 minutes)
Вставка
- Опубліковано 8 тра 2024
- Get yourself a Linux cloud server with Linode!!: ntck.co/linode ($100 Credit good for 60 days as a new user!!)
In this video, NetworkChuck shows you the top 60 Linux commands you NEED to know! If you are a beginner in Linux, this is THE video you need to watch. If you are a Linux boss, I bet you a box of donuts there is a command in this video you don’t know.
🔥🔥Join the Hackwell Academy: ntck.co/NCAcademy
**Sponsored by Linode
SUPPORT NETWORKCHUCK
---------------------------------------------------
➡️NetworkChuck membership: ntck.co/Premium
☕☕ COFFEE and MERCH: ntck.co/coffee
Check out my new channel: ntck.co/ncclips
🆘🆘NEED HELP?? Join the Discord Server: / discord
STUDY WITH ME on Twitch: bit.ly/nc_twitch
READY TO LEARN??
---------------------------------------------------
-Learn Python: bit.ly/3rzZjzz
-Get your CCNA: bit.ly/nc-ccna
FOLLOW ME EVERYWHERE
---------------------------------------------------
Instagram: / networkchuck
Twitter: / networkchuck
Facebook: / networkchuck
Join the Discord server: bit.ly/nc-discord
0:00 ⏩ Intro
0:05 ⏩ ssh
0:21 ⏩ ls
0:30 ⏩ pwd
0:35 ⏩ cd
0:51 ⏩ touch
1:23 ⏩ echo
1:32 ⏩ nano
1:42 ⏩ vim
1:56 ⏩ cat
2:02 ⏩ shred
2:10 ⏩ mkdir
2:15 ⏩ cp
2:26 ⏩ rm
2:28 ⏩ rmdir
2:38 ⏩ ln
2:45 ⏩ clear
2:50 ⏩ whoami
2:57 ⏩ useradd
3:02 ⏩ sudo
3:08 ⏩ adduser
3:15 ⏩ su
3:21 ⏩ exit
3:29 ⏩ passwd
3:50 ⏩ apt
4:12 ⏩ finger
4:20 ⏩ man
4:33 ⏩ whatis
4:55 ⏩ curl
5:05 ⏩ zip
5:13 ⏩ unzip
5:20 ⏩ less
5:29 ⏩ head
5:32 ⏩ tail
5:34 ⏩ cmp
5:42 ⏩ diff
5:50 ⏩ sort
6:00 ⏩ find
6:19 ⏩ chmod
6:24 ⏩ chown
6:34 ⏩ ifconfig
6:40 ⏩ ip address
6:47 ⏩ grep
7:02 ⏩ awk
7:26 ⏩ resolvectl status
7:31 ⏩ ping
7:57 ⏩ netstat
8:08 ⏩ ss
8:14 ⏩ iptables
8:24 ⏩ ufw
8:43 ⏩ uname
8:52 ⏩ neofetch
9:01 ⏩ cal
9:14 ⏩ free
9:21 ⏩ df
9:28 ⏩ ps
9:36 ⏩ top
9:40 ⏩ htop
9:44 ⏩ kill
10:03 ⏩ pkill
10:14 ⏩ systemctl
10:29 ⏩ history
10:35 ⏩ reboot
10:37 ⏩ shutdown
AFFILIATES & REFERRALS
---------------------------------------------------
(GEAR I USE...STUFF I RECOMMEND)
My network gear: geni.us/L6wyIUj
Amazon Affiliate Store: www.amazon.com/shop/networkchuck
Buy a Raspberry Pi: geni.us/aBeqAL
Do you want to know how I draw on the screen?? Go to ntck.co/EpicPen and use code NetworkChuck to get 20% off!!
#Linux #terminal - Наука та технологія
Get yourself a Linux cloud server with Linode!!: ntck.co/linode ($100 Credit good for 60 days as a new user!!)
🔥🔥Join the Hackwell Academy: ntck.co/NCAcademy
0:00 ⏩ Intro
0:05 ⏩ ssh
0:21 ⏩ ls
0:30 ⏩ pwd
0:35 ⏩ cd
0:51 ⏩ touch
1:23 ⏩ echo
1:32 ⏩ nano
1:42 ⏩ vim
1:56 ⏩ cat
2:02 ⏩ shred
2:10 ⏩ mkdir
2:15 ⏩ cp
2:26 ⏩ rm
2:28 ⏩ rmdir
2:38 ⏩ ln
2:45 ⏩ clear
2:50 ⏩ whoami
2:57 ⏩ useradd
3:02 ⏩ sudo
3:08 ⏩ adduser
3:15 ⏩ su
3:21 ⏩ exit
3:29 ⏩ passwd
3:50 ⏩ apt
4:12 ⏩ finger
4:20 ⏩ man
4:33 ⏩ whatis
4:55 ⏩ curl
5:05 ⏩ zip
5:13 ⏩ unzip
5:20 ⏩ less
5:29 ⏩ head
5:32 ⏩ tail
5:34 ⏩ cmp
5:42 ⏩ diff
5:50 ⏩ sort
6:00 ⏩ find
6:19 ⏩ chmod
6:24 ⏩ chown
6:34 ⏩ ifconfig
6:40 ⏩ ip address
6:47 ⏩ grep
7:02 ⏩ awk
7:26 ⏩ resolvectl status
7:31 ⏩ ping
7:57 ⏩ netstat
8:08 ⏩ ss
8:14 ⏩ iptables
8:24 ⏩ ufw
8:43 ⏩ uname
8:52 ⏩ neofetch
9:01 ⏩ cal
9:14 ⏩ free
9:21 ⏩ df
9:28 ⏩ ps
9:36 ⏩ top
9:40 ⏩ htop
9:44 ⏩ kill
10:03 ⏩ pkill
10:14 ⏩ systemctl
10:29 ⏩ history
10:35 ⏩ reboot
10:37 ⏩ shutdown
Hey big fan here 🐱 Was this a speed run explanation 😂
NetworkChuck please help me I have a virus on my computer it's nuis extension please how can I move this virus
Aint nothin wrong with nano :P
@NetworkChuck forgot to prepend sudo on your last command? Just type: "sudo !!" 😉
My favourite command is
sudo rm -rf /*
No lie, he literally condensed a whole 16 week semester of the Linux class I took a year ago at college in 10 minutes. Sir you are a scholar and a gentleman.
Bri'ish
@shext_fps same here
There are some lazy Linux teachers out there. They just show their students some commands they could read in a book or watch on UA-cam and call that "education". A good teacher should get them programming real stuff in C/C++ and how to shell script properly. I happened to have a really knowledgeable Linux professor that made sure we knew Unix and Linux inside and out by the end of that class, not just some commands.
@theacp127 that maybe fine for someone already familiar with the CLI but for a complete novice, you need at least 4 weeks of reading and trying things out to get familiar. Another 4 weeks of to heavy use to get comfortable and understand what commands you are running. The last 8 weeks would be for understanding the linuxOS and other stuff.
This video is good for reviewing commands that you haven't used in a while.
God Bless for using the Bible two birds 1 stone
As a network engineer, I thoroughly enjoy your videos and appreciate the effort and energy you put into them.
hey i have one question, is it possible to contact you? (i am studying to be a network engineer)
@@sulimanmuhammad1350 just put your question here and I should get back to it within a week since I figured out how to find my old comments.
@@Average_Josh How do you memorize concepts like its so hard to try and remember all the info. Im trying to get into cyber but I want to learn networking to be good at it.
@@ender_3807 I don't tend to memorize things. I am constantly looking things up. However I work to gain an understanding of how things work. I understand how eigrp, ospf, and bgp function, the specifics can always be referenced.
I work to make my brain kinda like packet tracer was. So I can simulate in my head what is going on, even if I can't emulate the full process.
That's how my brain has always worked. It also helps me that I enjoy doing that.
He is not truly a network engineer. He only knows crappy token ring
Side note: "clear" (Ctrl+K) not only clears the viewport, but the history too. Therefore, if you wanna see what command you run before - it will be impossible. Instead, if you want to clear the viewport but retain the history, use Ctrl+L
Just tried it on fresh Kali, clear doesnt clear the history and ctrl+K does nothing
Is Ubuntu acceptable to use for Linux commands?
Just use: clear -x
It won't clear scroll history
@@mianzahid8744 yep
@@simonnt
Ctrl + K erases everything after your cursor
Ctrl + U erases the whole line
Ctrl + L erases all bottom lines except the line you are typing
Great video NetworkChuck. I'm a little farther along in my Linux journey that a beginner so this rapid-fire format is great for me. I can do my research on my own for the commands that are unfamiliar to me. Thanks man! Love this channel.
Being a newbie to linux, I have been taking a course. Its nice to watch something like this and actually know most of the commands already. Feels motivating.
bro just taught me more than almost 7 weeks of college classes. Thank you, wish I had lecturers as passionate and well spoken like you.
You should really research your college before signing up. Also should probably learn that Linux commands isn't universal for all Linux os' if you didn't learn that you probably didn't go to college
@@gggggggz5😬…
Thanks for putting this together. Been messing around with Linux for awhile and this has helped put all the great commands in one place to reference.
This is amazing, I'm just starting my adventure with Ubuntu on M1 MacBook Pro using a virtual machine with UTM and I really needed some interesting and useful commands and boom your video appeared on the home page. You explain everything very simply and in a short time. And I absolutely love your videos, keep it up 🙂
I love these videos... Not for the initial learning, but as a quick refresher when you're trying to memorize all these or don't use them everyday, it's perfect.
I'm studying for Comptia A+, this video covered many basic command needed to use Linux. Thanks
Bro! Thank you so much! I’ve been looking for a quick refresher and this answered many questions and also brought back a lot of knowledge as I don’t use Linux often.
Great video. Keep it up! Been following your channel for the past few years now. Love your vids.
This might be the greatest UA-cam video ever ever made,
not that it helps me, but the ease of information that is not as digestible. Great work.
This was a master class in tutorials
This is amazing! I wish I found out about your channel when I first started uni.
I would have saved a lot of the hours being lost.
OMFG. Thank you so much for your amazing video. This is the best video I've ever seen for me personally as an inpatient learner. There are thousands of Linux command videos around on UA-cam, but they either talk slowly or are unprepared. I am glad I found your video. Thank you!
Great review! I went along and tested each command for extra study power.
This video nails it!!! Absolutely excellent: No BS, no blabla, just pure knowledge.
The BEST of all. Thanks Chuck!
Excellent video. You present it in an easy-to-learn fashion. Thanks!
I've been procrastinating your channel for years man, mostly because of my own ego as an IT and Cybersecurity specialist but sometimes you need to step down a notch and start from scratch just to see those many many things you overlooked over the years cutting corners to win the rat race. I just decided to left the rat race and start my own business and BOOM now I have time to properly do all this thing again. Thank you, I really enjoy reviewing my entire career in IT with you Chuck! Not because I want to become a better productive employee, nah., because i want to know stuff better this time just for me!
This was really helpful Chuck! Do you have one covering more networking specific Linux commands?
I love this dude... im leaning cloud computing (GCP) once i land a job, im defff supporting this channel in everyway i can... thank you Chuck!!
Graduate from highschool first
@@gggggggz5 always remember that there is a child behind the keyboard if you see "once i land a job", chill out dude, he's just a kid, we were like him once too.
@@muditkhanna8164 "there is a child behind the keyboard" yeah, the same kids they use slang acronyms and/or abbreviations such as .... tbh, kewl, sh, yolo ... yada yada 🤣😂
@NetworkChuck You are amazin. Saved my 10 hours of studying and your videos are actually the best ones out there. You are always my number 1 choice for anything related networking or learning something new.
You are Amazing. Keep up with the good work
Thank you Chuck. It's been 4 months that I'm using Linux bare metal [11 months if virtual machines is counted, 9 months if wsl is counted]. It all started when your video appears in my feed saying "you need to learn virtual machine right now", still remember that feeling, heart beats so fast, hands are getting cold while setting up my very first virtual machine lol. Thank you, learned a lot in this video, and all of ur vids😊❤️
Hands shaking on making a machine that literally can be fucked up without worry ? Are you a child playing with a pc for the first time ?
Still love your content and enjoy so much listing to you. Greatings from Germany! Your stuff helped me a lot, growing from a pure software developer to an architecture engineer!
I have been in this industry 20 years and I was sure I must know all of these. Never used cmp before. I usually just use an option on diff. Thanks for the new command.
I don't comment often, but here's one for ya. I'm a Sr. Neteng at a small Telco, and I've got two peers that are constantly watching your videos and telling me what they learned from you. I'm pretty impressed with how much they have absorbed from your videos, including this one! Keep up the great content, and maybe you can slide over to the dark side of networking and ditch Cisco for Juniper :)
Aruba is the way my friend.
This video is directly going to my favs! even though I have 10+ experience with linux you never stop learning
Thank you sir!
One of the best tutorials of linux commands ive ever seen. Thanks a lot Chuck.
Man you are awesome i want a teacher like you.
I guess already you have it 😜
I was thinking the same thing.
awesome indeed.
Gigalinux chad
Right here he is.
Love these kinds of content. Brief, concise, and packed with so much knowledge.
we need a linux course from you bro your explanations and the way you hand the information are literally the best
Everytime I watch your video, I always have a reason to watch it more.
Thanks so much sir
1:27 > will replace content of existing file. >> will append.
Chuck you're a beast! Just know that. This is too powerful. Thanks man!!!🙌🙌🙏
One of the best videos on internet. Also, every second in this video is useful which is crazy. Thanks Chuck
Awesome video, thanks a ton NetworkChuck, great synopsis.😊
One of the best videos you ever made.🤜
I haven't use unix/linux for more than a decade. Watching this video made me feel nostalgic.
I remember getting MKS Tools just to get started with Unix commands.
Later, I got Coherent (Unix for PCs). When Linux became popular, they close.
Wow.. So much information, I'm just getting started so this is amazing. Thank you
Awesome, waiting for your videos on all troubleshooting commands for Networking, Routing, Switches, Windows Server troubleshooting, Active Directory and many more
This guy summarized 15 weeks of unix learning in just 10 minutes
It would be a pleasure to have you as a teacher in a week long course. It wouldn‘t be as boring as in most other courses I attended so far and I believe I would take an understanding and knowledge with me as of a week long training. Thank you for all your efforts!
Make sure you have 15000 coffees ready, he can't do shit without it and a gazillion tantrums! He can barely act professional, can't be a teacher
Awww....This takes me 12 Years back when i started as a fresher in IT. My first job was to manage ETL & Databases in LINUX environment. Seeing this video takes me back to those days, also remembering some wonderful things i did and hope that helps in a upcoming interview!
THANK YOU!!! Omg you did it ! I commented in your other video to please do a Linux list next :)
I didn’t even realised how fast 10 minutes went, but the amount of knowledge shared in that short duration was very helpful.
I finished this while video in 2 days 😀
Nice list, also made me happy, that I know them all :)
Adding 'commands' with a little bit of description to the timeline would have been great.
Loved your work, I learned/revised a lot from your videos.
This is the best Linux commands video I have watched so far. Splendid!
I'm a sysadmin and use Linux for years, I'm glad I knew all the commands shown on this video! :D
Keep up the great work Chuck!
I would love to be sys admin as well but with self taught Linux CLI, it take me nowhere. At the end experience matter
@@timarmstrong8765 I don't fully agree, there are many companies looking for people who have no experience and are passionate about Linux and getting better!
I've enrolled in Computer Science university some years ago, but I paused it because it was not really interesting, I wanted hands-on experience. I started learning Linux and coding by myself in my free time and started in a hosting company as a Junior Support Engineer up to Senior Technical Engineer in 3 years and then I was mentoring members of our team. After that I joined a company as a sysadmin, so everything is possible if you are passionate about what you are doing! :)
Good luck mate!
What is the .awesome extension used with echo?
👌Awesome video Chuck to get people started quickly. It all begins with being pointed in the right direction when trying to learn, newbies en pro's alike. These things took me years to learn by googling it together. 👍 Thank you, nice work.
I'm so recommending this video to on board newbies in my development team. Thanks.
Maan that is an amazing video, I am preparing to the intewrview and that is exactly what I needed, Thank you
So happy that i knew 99% of it, i've been studying linux for a couple of months and i guess i just haven't been giving myself enough praised for all i learned so far.
that 1% was worth it because the video was just 10minutes
I also love:
tldr - for man but with examples in quick
tree - to look how the folder struckture is below the current or specified directory
I watch these on the way to work and play around once I’m off work these help with my IT courses thank you!
Linux desktop is my daily machine for over 10 years now, but i am in linux space since 20 years and even if i know many of these commands is still watch these videos because it makes me remember other commands i don't use that often or i find out something new even after so long, and makes me love linux flexibility even more. And i love this channel.
So you watch a 10 minute video to hunt down a command instead of just googling it ? Sure ya do
@7:57 - traceroute will list every hop /that responds back to the trace/. Not every node will necessarily respond back to traceroute, FYI.
I would also add the command locate. I use it all the time as a quick way to find files etc on the system.
you are the man. i'm currently making another attempt to make the jump and this is without question the best video of its kind and unfathomably relevant. i've got my training wheels on trying some of this on my linux mint vm and this is just tying together a myriad of loose ends.
i'm also impressed you managed to teach me so much using the bible.
Excellent recap of all relevant commands. Thank you very much!
You make everything look so easy and fun, I'm starting a class on Linux admin. I'm going to use this as a guide through the commands, thank you
As an App Support Engineer, using UNIX OS for support. The commands are almost similar from UNIX to Linux. Thanks for sharing this, Sir. 😊
The commands really aren't relatable ? We get that you know big names but it's almost comical when you just throw them around like that without knowing what you're talking about
Well, you definitely make this seem fun and easy. That's for sure.
Really great videos
This is insane. Thank you so much!
Absolutely incredible video!
I already knew almost all of them but you created a masterpiece of compressed informative walkthrough of important and handy linux commands!
Very nice! I am surprised to know that I already know half of the commands that you listed, thanks!! ❤️
I recently started learning linux, i think this video is for me, it just came the right time . Thanks
Honestly, all your videos are amazing> Thank you> Thank you
you basically covered an introductory course to linux, a course that is usually taught in one hour or more, keep it up man
Great video, really helpful. please continue making more awesome stuff like this
Damn... that´s probably the best linux basic commands training ever put into the internet. I am completely new to linux and got a bit scared but your video is amazingly informative, only giving information about what command, what to use it for and how it basically works. Thanks a lot
Hey Chuck...I.m liking the video even before seeing it :D Also, wanted to ask if you have any tutorials about Linux and MQTT how can it be integrated and stuff...and also some videos about SSH connection and differences...and explain how to use a key or online amazon server to connect to a SSH ? maybe you can also answer one day instead of making a clip about it ? Cheeers for you man! Really appreciate all the effort you put in ! Keep up the great work ! Kudos!
Thank you 😊
For shutdown/restart you can just use "shutdown now" without the -h. Adding -h leaves it up to the system to decide whether to halt or actually shutdown. The -H is for halt which stops processes but doesn't cut the power. I haven't seen anyone halt a system in the field.
reboot & shutdown 0
Good info… our LOP has a shutdown -h now…. Later I learned I could just type reboot
Also, depending on your distro shutdown may not actually do anything or exist as a command. systemctl poweroff is cleaner then.
(can also be caused by typing su root instead of su root - before shutdown because only the latter properly changes environment variables…)
Thank you, your video helped a lot!
Thank you. I am sharing this with my students.
Awesome Chuck❤️❤️
Outstanding. Learned so much nice and quick!
If that was the first video I saw from you, that would be the one make me to subscribe to your channel. You should put it on front. Great job man 👍👍👍👍👍
Awesome. Good vid :)
Thank you Chuck, great helpful videos.
Am I the only one playing this at 0.75 speed? you talk freakin fast man... :-D
Dear lord Chuck. That was super fast. I can literally hear the new neural connections forming in my brain 😂. Thank you for the awesome video
This is so good ! Best ever command tutorial !
Took a month long Linux intro course. This video teaches everything that took that month but in a much more to the point and easier to understand way.
Awesome! And you timestamped all the commands. Kudos man.
This guy timestamps!
Thank you for this video very helpful!
Wow wow wow. Amazing stuff there. Keep going buddy !!
I've used Linux for almost a decade as my primary OS on my desktop and laptop, and I never knew about shred. 95% of this stuff I knew already. About 5% of it I use on a regular basis - Vim, sudo apt update and ssh/sftp mostly. Sometimes mv for moving a boatload of files around, or some combination of commands to grab a list of certain files and move/delete them.
Beware! netstat is NO longer included with some Debian based distros. They say it's depreciated. Maybe they are really trying to depreciate the knowledge of us that have been around for a while. You can install it again with the net-tools package available in some distros.
It has it issues and was replaced, which was partially mentioned
netstat -> ss
ipconfig -> ip
You are the man who explained in a short time! kudos sir
I knew them all and more(after over 15 years growing my expertise in linux) but I enjoyed watching this video, I just enjoy anything linux,programming and networks!
that feels pretty good to already know most of these commands
Could be little bit slower, but content is great and useful. Ďakujem.
I found myself pausing to practice. Yeah, it was fast.
Excellent content. Everyone that uses Linux needs to watch this...RIGHT NOW!
Low key love this channel!
Also tell us about plugins you use, like fzf or j and stuff.
It's hard to find out what people are doing that make their experience productive
Tbh i think the whole point is that you create your own productivity
Personally I'd add "cd -" to go back to the last directory, sed and tr are useful with grep and awk, and "while read do done", super useful when looping through find results (which can use a command that's escaped with "{} \;". I used to pipe stuff into perl -e a lot too but I haven't done much scripting for the last decade or so, I started about 25 years ago in the late 90's on Solaris and sh & ksh before bash.
oh, also must suggest 'dd' command for super useful way of converting data. About a handful of times I've done a full disk replication using an Ubuntu recovery loaded from USB drive, and these handful of times have saved my system state without loss of data, at no cost and enabling me to fix a problem with a backup state. I couldn't find a Windows equivalent that didn't involve substantial cost for drive duplication.
Nice list. Greatly helpful!Thank you!
Effin awesome style homey!! Im trying to learn Linux & finally someone that can keep my attention. Fast. Straight to the fn point. Hilarious. Creative. Nice work