the Linux File System explained in 1,233 seconds // Linux for Hackers // EP 2
Ғылым және технология
FREE Linux Hacking Lab: ntck.co/htbacad
💯💯Think you're smart?? Take the quiz: bit.ly/3fXv6ag (FREE)
Watch the entire series: bit.ly/linuxforhackers
*Sponsored by HTB Academy
---------------------------------------------------
Sign up for the Hacker Academy: ntck.co/htbacad
Check out HackTheBox: ntck.co/htb
Linux for Hackers (and everyone) EP 2 -- In this episode, we're going deeper into Linux!! If you want to learn Linux, you HAVE to know where things are! Network settings? Application settings? Linux Commands? (we may delete a few of these, just to see what happens). We will explore the Linux file system to find out where stuff is. And along the way, we're learning 7 new FRESH linux cli commands.
*Disclaimer: The Linux foundations course from HTB Academy is a Tier 0 course, allowing me to show the course content in this video series.
SUPPORT NETWORKCHUCK
---------------------------------------------------
➡️Become a KZread Member: bit.ly/join_networkchuck
☕☕ COFFEE and MERCH: NetworkChuck.coffee
Check out my new channel, bit.ly/nc_clips
🆘🆘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:55 ⏩ access your FREE HACKING LAB (linux)
1:39 ⏩ NEW COMMAND: whoami?
2:02 ⏩ 10 second review
2:28 ⏩ the ROOT of the File System
2:45 ⏩ NEW COMMAND: clear
3:03 ⏩ EVERYTHING is a file!!
3:40 ⏩ /bin
4:49 ⏩ NEW COMMAND: cat
5:43 ⏩ NEW COMMAND: cp
7:12 ⏩ NEW COMMAND: rm
7:25 ⏩ i DELETED a command!!!
8:48 ⏩ /sbin
9:27 ⏩ NEW COMMAND: adduser
10:11 ⏩ /usr
11:32 ⏩ NEW COMMAND: which
12:47 ⏩ /boot
12:52 ⏩ /var
12:58 ⏩ /tmp
13:04 ⏩ /lib
13:12 ⏩ /home
13:40 ⏩ /root
14:10 ⏩ /dev
15:33 ⏩ /etc
17:11 ⏩ /mnt and /media
19:24 ⏩ CHALLENGE
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
#linuxforeveryone #linux #linuxforhackers
Пікірлер: 2 900
Pro tip: if you ever forget the sudo before a command, you can just type "sudo !!" like you're throwing a temper tantrum (the !! represents the last command run on that terminal)
@sameerhussain620
3 жыл бұрын
Bonus tip? WOW. So it applies along with the cmd used before it?
@StephenHarrisTrackMasterSteve
3 жыл бұрын
You beat me to it! 😁👍
@muhammadraza7231
3 жыл бұрын
Wowwww
@aniruddhradhakrishnan2471
3 жыл бұрын
@Abhishek Yadav Not advisable. A large part of Linux security is to not use admin permissions when not needed. So while it seems cool and all to just elevate permanently, it could be insecure and make your system more vulnerable. Security >>> Convenience
@WRWhizard
3 жыл бұрын
OH! Never saw that nowhere! Thanks! Me... I just su before I start doing a bunch of this stuff. "I Am Root!"
This guy had a baby this week and he still didnt forget to help us learn . This is a true legend.
@matthiashavrez
3 жыл бұрын
I get what you mean but I can't stop from commenting that this video was shot at least 2 weeks ago (if not much more) and was just planned to air on its own.
@crisnmaryfam7344
3 жыл бұрын
@@matthiashavrez yeah but credit when due, he did take the time to plan the videos to go out while hes busy. Most people Do know ahead of time when the baby is coming at least a round about time. Granted stuff happens babys come early but still you have a good heads up of when to be ready for it.
@KutWrite
3 жыл бұрын
A man having a baby is legendary on its own. :P
@anonymous4298
3 жыл бұрын
All credit goes to his wife.
@ITSKILLSACADEMY
3 жыл бұрын
Thanks to planning ahead.
11:40 for anyone like myself who didn't understand why the ls command broke after you deleted it from /bin even though it lives in /usr/bin, it's because /bin is a symbolic link (aka a "shortcut") to /usr/bin. They're literally the same directory.
@gwentplayer9124
Жыл бұрын
oh my first thought was that because he used the sudo command the shell looked for the commands inside /bin instead of /.usr/bin, but ur right, a 'sudo which ls' still returns /usr/bin/ls than /bin/ls
@PUBGGAMER_04
Жыл бұрын
Bruh give me your Instagram id i will text you
@DevendraGuptaProfile
Жыл бұрын
Thanks for cleaning it up
@orbyfied
8 ай бұрын
wait is /bin a symlink to /usr/bin or the other way around
@SuyogBhoite1561
8 ай бұрын
But he copied it right before deleting
It's like talking to a therapist and learning linux at the same time, and it's free, love it!
@raven4k998
Жыл бұрын
you heard him hack youtube boy🤣
@PUBGGAMER_04
Жыл бұрын
Give me your Instagram I'd i will text you
@catharperfect7036
6 ай бұрын
Take those violent feelings you have and hack the Fed.
@user-kt1yc1my4q
3 ай бұрын
I said this too make your mood and mindset very good to be learn well
this guy is slowly becoming my favorite youtuber and I'm not complaining
@johannespein4248
3 жыл бұрын
same :D
@--Tanjumul
3 жыл бұрын
I think you are from India
@rindonaoki729
3 жыл бұрын
ikr man
@adipurnomo5683
3 жыл бұрын
Same here
@jackhansin9480
3 жыл бұрын
apropos !!!! I SO needed to know that great nug.! Chuck, you are GOLD!
For those struggling with the sudo command requesting a password, the password is located in the my credentials file on the desktop.
@miracleukpongson1305
2 жыл бұрын
life saver
@pigeonblox4994
2 жыл бұрын
Thanks a lot, was wondering about that
@mr_hashbrown
2 жыл бұрын
@@pigeonblox4994, anytime!
@Awb_szn
2 жыл бұрын
hey bro when i put the passwoord in it dosent give me enough time whatswrong?
@mr_hashbrown
2 жыл бұрын
@@Awb_szn, try restarting the program.
Chuck, I'm an aviation electronics professional of 17 years in manned, unmanned, and manufacturing with a stint at Intel Corporation as a process technician. I found your videos while searching for answers installing a modem card in my old Latitude E6320. Not that you need the backstory, but I wanted to qualify my praise. I absolutely adore your videos and teaching style. You keep things exciting and you're highly enthusiastic. Thank you for generating this content. Cheers!
This is the most innovative and friendly way of teaching I have ever encountered ,albeit the fact the teaching technology is generally seen as a dull art you have literally transformed the entire premise by presenting such a wonderful way of learning .
@Gameingrx
9 ай бұрын
He is one smart dude
Considering the fact in the past I would have need to read through boring books or listen to a bored teacher, man, I would have to admit that no one had ever presented that in such a great, short, funny and understandable way. This is for sure my favorite IT channel. Thank you so much for your efforts!
@Darkreignn98
Жыл бұрын
hands down I'm almost sad I didn't find him sooner!
@zoltron30
Жыл бұрын
Yeah Network Chuck and Keith Barker are awesome 👍
Not gonna lie, asking me if I've "hacked the KZread algorithm" is the most motivated I ever been to like and subscribe..
@batmanasdasd
3 жыл бұрын
True
@niperxd5025
3 жыл бұрын
Ethically ofc
@aidandubiel2615
3 жыл бұрын
@@niperxd5025 of course! I got permission from Chuck himself xD
@GunsandGuitars69
3 жыл бұрын
Hacking has to be something you're not supposed to be able to do though
@aidandubiel2615
3 жыл бұрын
@@GunsandGuitars69 r/whoooooooosh
2 years on and still relevant and still helping people. Thanks mate. Helping prepare me for a career in cyber security.
@alexperts5929
10 ай бұрын
man yea just found him and he can pass knowledge flawlessly
@AlejandroHernandez-qd5bj
9 ай бұрын
I saw you r comment is 3 weeks old, I'm currently trying to follow along with him by using the HTB instance but I'm not getting all the same directories, am I doing something wrong? @@alexperts5929
Bro I just want to say I wish more professors had your enthusiasm when it comes to teaching. You provide a wealth of information and in doing so provide a fun and engaging learning environment.
Such a great teacher tbh, 20 minutes went by so quickly
@propavan8684
3 жыл бұрын
Hi
@onio907
2 жыл бұрын
lol trueeeee
@mdhosnemobarak5126
Жыл бұрын
yeah true
Chuck : "You have to update your family member list , now" Happy apt-get upgrade.
Awesome, i just passed my CCNA. I applied as a NOC engineer thinking its mostly network jobs but it turns out to be mostly system/server where many of the servers are linux. This has been a great help
When I say that this guy is amazing I mean it. I’ve watched many videos and just became a complete soggy brain. Watch one of his and I feel like a genius.
Thank you for this explanation. This step by step visual, is what many youtubers miss in their noob explanation. They expect us to know too soon, without explaining exactly what you are doing. Good calm clear explanation, not too much and not too little. Good job! You have another subscriber!!!
The best series ever, than you so much !!!
@meherabsamir
3 жыл бұрын
Yeah
@satvikvarun6386
3 жыл бұрын
Thank*
What I really like about explaining and renaming the commands in bin is that it puts you in the space of "How would I name it?" and after a little internal debate you more often than not come to terms with the command name being a good name worth continuing with. Command sticks in your memory better because you went on a journey of thinking it through and not having it just being another thing to memorize.
been using variations of Linux for many years and I just never really bothered diving deeper into the OS files like this. Despite knowing a lot of the basics, listening to your explanations and how you present learning was very relaxing and helpful. Thank you for these videos...even though it's three years later.
Tomorrow is my exam, but this seems more important.
@Jawlaya
3 жыл бұрын
👍🏻👍🏻
@athulvj2037
3 жыл бұрын
Yeah🤪
@SUPERNOVA0083
3 жыл бұрын
haha same but its over
@user-ym9wb2mk5e
2 жыл бұрын
Did you pass?
Chuck, thanks man. I'm just on week 6 of my Linux studies, gearing up for RHCSA in a couple more months; and I use your videos and one other Linux persons', constantly. I love to go back and forth and deepen those new knowledge grooves by hearing two different explanations for the same/similar concepts. I appreciate you. Keep just doing it.
@jeschinstad
Жыл бұрын
There is only one way to _truly_ understand Linux and that is completing the LFS. It's a free book that takes you through the entire process of building a Linux system from scratch, compiling every component yourself. It's an incredibly rewarding thing if you're really dedicated to learning Linux and you can build extremely tight systems that way too.
I'm 45 new to Linux, and this was a real crash course 100% effective. No jib iris, focused, well done. Respect
I"m new to IT. I got my first tier 1 helpdesk job about 4 months ago. Just found this course and finished it up to this video. Gonna do one or two of these videos per day and go through the course. Thank you so much for doing this Chuck. Ordering some of your coffee for sure!
Really glad you have introduced me to this. I have been flying ahead but will come back to follow along with these videos as I've discovered its easier to just keep repeating the commands to remember them lol! Anyway, thanks again dude.. Hope that coffee tastes good today!
I've been using Linux for a while, but this is still handy. Lots of foundational ideas that I hadn't laid out so clearly before. There are some great Linux KZreadrs but sometimes I get stuck when they assume you know basic things and leave them out.
I loved that you explained commands in a story format rather than just random cmds being thrown at us
Chuck, kudos to you. Keep up the great work. I haven't been into Linux for 15 years, you refreshed my memory in 20min. You really are in the spirit of Open Source community. Thanks again Chuck.
Dude, I’m trying to great into data engineering and want to learn Linux for shell scripting. You make this digestible. You are a great teacher- immediately subbed.
You're a good teacher ,it's so easy to get hooked , makes me wants to go out of my way to learn .... Thanks man 🙏
So. Much. Thanks! I dabbled and tried to teach Linux myself for years now, set up servers, even wrote my own (bad) driver... and in under 5 minutes you explained the file system to me, that I was always curios for. Great Tutorial! One remark: it is intentionally, that you are not using the TAB key to autocomplete? I use it a LOT to minimize typos and for me, it speeds up my work a lot.
A cool thing I learned with binary files, the machine is actually getting zeros and ones through the file, but when you try to read the binary code yourself, the binary actually gets converted to ASCII, making it look like gibberish.
Linux/Unix has always been a dark art to me but this has been brilliantly explained and you're a great host that makes it fun and interesting rather than some boring lecture. Subscribed.
This man is putting my professors out of business. Thanks sharing knowledge in such a fun and understandable way.
I think my favorite thing about Linux has to be the picture in picture pop out feature for videos. My main issue with watching KZread videos while doing something else in a single workspace is that the video always ends up being so small, even in theater mode. You need to take up basically 3/4 of the screen just to get a good size, and then you are also taking up the comment space and everything too. But with the video pop out, you can watch multiple videos at a time, size them accordingly, and still use the terminal or do something else. It's REALLY cool!
This is awesome ! a lot of videos about Linux made me wants to fall asleep but Chuck seriously kept me hooked and focused !! Thank you for doing this !
Man, you are AWESOME! Congrats on the new little girl! I just had my first 3 months ago. This is probably my favorite course you’ve done so far (even though the others were also awesome).
Quick to the point lesson. Honestly some of the best learning content for CS right here on your channel.
@raven4k998
Жыл бұрын
want some lsd?
My friend, I’m very thankful for all the videos, this is an example of how a person should teach something to someone! Good work !
As usual, love your content. Fun and informative!
Thank you for taking the time to explain your info and spreading your knowledge. It really helps people out who are just getting into it.
You're such a great and engaging teacher, Chuck. Thank you!
I love this guy! He speaks IT in the best way possible. I work in IT, and I learn stuff everyday from this guy! I’m currently knee deep in Linux and this guy…. He is helping me learn. Legend
Thank you so much! I'm a Linux user and you just showed me some basic commands and now I am actually can use it. You're great teacher 🙏
Kia ora. You are an amazingly gifted communicator mate. I’m coaching a younger professional who is interested in technology as a career and your videos, tone and breath are just unbelievably good. I just wanted to send some love and gratitude from New Zealand. Best cheers for furthering open source, linux and tech. Keep up the invaluable work. Ka pai.
One of the most fun and informative Linux tutorials I've ever seen. I didn't feel sleepy one time :-)
@raven4k998
Жыл бұрын
whoamI?
Thank you for making us a video where everything is not just presented but also explained. I hope everyone acknowledges how big of a deal this is especially for learners who have difficulties learning. Of course its mad good for anyone else too! Im studying education in finland. I just have the hardest time finding good videos that doesnt leave big gaps in topics and especially understanding through active learning. Most youtubers understand us viewers as passive learners. Big up to you on this one personally its impossible to learn this stuff for me if there are big gaps in the info or in the understanding. You are one of the very few who goes fast, but doesn't leave gaps in the actual understanding. You explain, give us tasks which are in line with the topic, which make us understand and remember. Most of the tutorials doesnt seem to understand how we need to be guided with the info. The info is just poured on us. Most of the vids have a lot of good data, but we dont know what to do with it, we dont quite understand it and therefore, we dont learn but we might remember, big difference there. all in all. Cheers!
@stonelion4011
Жыл бұрын
Epic I love the pace he goes and does leap into mumbo jumbo without the clear breakdown.
Taking a Linux course now and it was cool to see these things in a less dry format!
I am super grateful for these videos! Thank you so much for your hard work and dedication to helping us!
You are the real IT guide for students I can't even express how much you have helped me, thank you for your efforts and time.
The pacing and presentation of this video is actually amazing.
Bro love the video. It’s really starting to grow on me and prolly go to school for this.
Thank you Chuck ! This is really useful information, looking forward to see you posting more and more videos related to Linux Also hoping one day you will do automation (Ansible and Python) video series as well for network Engineers I think you and Jeremy Cioara has same kind of skill with related explain it in the way everyone can easily understand the things.
I have to say this is just nice to watch even if you already know a ton about linux :) Gentoo user here and i still watch these videos they are just great!
@justcallmenoah5743
2 жыл бұрын
Same, It is always good to go back to basics and make sure you have the fundamentals on lock, this guy just happens to make it very entertaining and relaxing!
@karimrir1609
2 жыл бұрын
Artix user here, Artix is arch but no systemd
I wasn't bored at all while watching the video because the way you speak is unique and different from others. You successfully kept my attention throughout.
Came here to learn a few things, but just wanted to say GREAT intro lol. Different than the rest. I like it. Straight to the point.
The reason /root is special is because often the /home dir is mounted from a network or secondary disk. You don't want your root users setup to be missing when you're trying to fix a broken system, hence its part of the root filesystem.
Hey Chuck, Thank you for the helpful video/lesson. When you or Jeremyitlab explain lessons, i really understand everything quickly. I don't know how you do that but you are amazing guys. Thank you again. My question is: do you make/upload these Linux videos weekly or monthly?
I wish I would have learned about this 2 years ago. Not kidding. So useful and to the point. Instead of needing weeks, I'd need 2 hours
years later and this playlist is teaching me to love linux, thanks.
One of the rare ones that make learning fun! Great job NetworkChuck.
I've been waiting for thisss!!!!
His swag of teaching is crazy, he make each and every minute intresting in the video. Loved it boss
Looking for easy explanations for some of my newer guys.. this is really good, thank you for this, keep it up
you are an amazing teacher , thank you for making it fast and fun.
I was waiting for this for like a week,after watching the first episode and it pops out now when I am really tired and almost off to bed, but hey I am still here. ;)
I can only recommend this as much as possible. Thank you for sharing. This is over the edge great and even better!!
Came for file system, stayed for bearded man standup...
Your content is so good, thanks chuck :)
Next video: I DELETED SYSTEM32 ON WINDOWS // CRAZY EXPERIMENT
@akshittyagi6482
3 жыл бұрын
lmao nailed it with the video title // format
@liesdamnlies3372
3 жыл бұрын
The answer would be "...so anyway, back to Linux lul"
Your videos make this content fun to learn and I'm always excited about what you're gonna say next.
I'm really enjoying learning cyber security with you Chunk... you're my mentor I've been learning a lot from your videos. My first time to comment under your video. Thank you so much sir
So much yesssssssssssss. And congrats on the new Bebeh Chuck!!!!
The Internet approves of cat cat. Also, surprised you didn’t change sudo to please LOL.
@NetworkChuck
3 жыл бұрын
Lol. And DANG IT! Missed opportunity
Honestly, best tutorial out there! Learnt so much! Thanks
This was actually helpful. Some stuff was obvious but it really did clarify why things are where…. Thanks
Congratulations for your new member. May she have a happy life
I love it, i had to use a lot of this when the computer locked me out
Awesome content. Currently have Ubuntu running on an older PC and old Laptop. I use an app for Linux commands and tools but your content is more vivid to understand. 👍🏻
Love you vids, it really helps me because I'm still new to all of this, so thank you so much
Que clase tan epica. Gracias. Seria genial incursionar en temas como termux de esta manera
I've been -using- playing with Linux for 15 years and didn't know that everything is a file
@Jalae
3 жыл бұрын
because it's not. if you want a proper unixy "everything is a file" OS look at plan9
@justcallmenoah5743
2 жыл бұрын
@@Jalae frankly I wouldn't even say that it's necessary. As much as I can appreciate the dedication to the Unix philosophy but I don't think it's always the best thing.
Good humour. Good pace and intonation. Perfect tutor.
took the quiz and ngl althought I have a basic understanding of linux, this guy helped me fully grasp it. Watch this guy's video !!
Thank you for the series
I'm following along with this. When I'm trying the cat interfaces command I'm getting the following sudo cat interfaces # interfaces(5) file used by ifup(8) and ifdown(8) # Include files from /etc/network/interfaces.d: source /etc/network/interfaces.d/* any explanation would be helpful
dude i tried learning linux through googles cert and got so turned around this made this insanely easy to learn
i wish maybe you could create series about anything we need to know cause you are the best
Nothing was boring. Excellent presentation.
Wish my school had teachers like u…. Things could be different
I love every playlist I’ve watched on this channel.. my only regret is that my entire Linux knowledge was encompassed in episode 2 of the linux playlist 😂
Good night! I´m coming back to the Hacking world after a long period and your videos are great! Loving them! Extremely objectives. Now, just a simple question: Are the quizes down?
FREE Linux Hacking Lab: ntck.co/htbacad 💯💯Think you're smart?? Take the quiz: bit.ly/3fXv6ag (FREE) Watch the entire series: bit.ly/linuxforhackers *Sponsored by HTB Academy --------------------------------------------------- Sign up for the Hacker Academy: ntck.co/htbacad Check out HackTheBox: ntck.co/htb *Disclaimer: The Linux foundations course from HTB Academy is a Tier 0 course, allowing me to show the course content in this video series. Linux for Hackers (and everyone) EP 2 -- In this episode, we're going deeper into Linux!! If you want to learn Linux, you HAVE to know where things are! Network settings? Application settings? Linux Commands? (we may delete a few of these, just to see what happens). We will explore the Linux file system to find out where stuff is. And along the way, we're learning 7 new FRESH linux cli commands. SUPPORT NETWORKCHUCK --------------------------------------------------- ➡️Become a KZread Member: bit.ly/join_networkchuck ☕☕ COFFEE and MERCH: NetworkChuck.coffee
@MrPancakes7078
3 жыл бұрын
Hi
@raghavbhardwaj5384
3 жыл бұрын
I completed the quiz where we at about free coffee😏😏
@sarath1812
3 жыл бұрын
I didn't see the quiz
@ssjihad7014
3 жыл бұрын
watching from bangladesh
@anupprasai5238
3 жыл бұрын
Hi Network Chuck. I recently passed by CompTIA A+ and Security + but I do not want another CompTIA cert. Would it be foolish to go for CCNA without completing Network+. I have done few Cisco packet tracer labs like router on a stick and inter vlan routing but do not have any networking background. Do you think I should take Network + first ?
Oh thank GOD. After the first video, I logged into HTB Academy and tried Linux Fundamentals, but I don't know What is SSH, and other commands. Now After ep2 I'm sure I will learn everything simple. Great Series 🔥 Thankyou Chuck bro, and HELLO WORLD to your Daughter ❤️
@raghavbhardwaj5384
3 жыл бұрын
Yeah me too btw just a suggestion you should watch thenewboston linux serious might clear out the basics for you I did that..... But he is no networkchuck so untill another of his video comes out you can check that out
@abishekps555
3 жыл бұрын
@@raghavbhardwaj5384 oh thankyou bro
I just love the jokes ,the voice,simple explanations,the way you change cameras. great content!
Love your videos, fun to watch and informative
Chuck : It's Been A Lot Me Who Is Enjoying It : I CAN DO THIS ALL DAY
I can't wait for the next episode. Great work Chuck
@NetworkChuck
3 жыл бұрын
Thanks James :)
Wow.. whatta joyful guy. Lovin' all his videos. Almost addictive.
a number of these commands, especially the old basic ones remind me of commands I used in the early days of DOS, way back, before windows, when I was still in school and used WordPerfect as my main wordprocessor that did not even have any wysiwyg functionality. I am now seriously starting to experiment with using Linux on virtual box, to prepare to switch from windows for my new computer. Thanks for educating us noobs