the Linux File System explained in 1,233 seconds // Linux for Hackers // EP 2
Вставка
- Опубліковано 2 тра 2024
- 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 UA-cam 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 - Наука та технологія
This guy had a baby this week and he still didnt forget to help us learn .
This is a true legend.
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.
@@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.
A man having a baby is legendary on its own.
:P
All credit goes to his wife.
Thanks to planning ahead.
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)
Bonus tip? WOW. So it applies along with the cmd used before it?
You beat me to it! 😁👍
Wowwww
@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
OH! Never saw that nowhere! Thanks! Me... I just su before I start doing a bunch of this stuff. "I Am Root!"
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!
It's like talking to a therapist and learning linux at the same time, and it's free, love it!
you heard him hack youtube boy🤣
Give me your Instagram I'd i will text you
Take those violent feelings you have and hack the Fed.
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
same :D
I think you are from India
ikr man
Same here
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.
life saver
Thanks a lot, was wondering about that
@@pigeonblox4994, anytime!
hey bro when i put the passwoord in it dosent give me enough time
whatswrong?
@@Awb_szn, try restarting the program.
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.
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
Bruh give me your Instagram id i will text you
Thanks for cleaning it up
wait is /bin a symlink to /usr/bin or the other way around
But he copied it right before deleting
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 .
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!
hands down I'm almost sad I didn't find him sooner!
Yeah Network Chuck and Keith Barker are awesome 👍
Not gonna lie, asking me if I've "hacked the UA-cam algorithm" is the most motivated I ever been to like and subscribe..
True
Ethically ofc
@@niperxd5025 of course! I got permission from Chuck himself xD
Hacking has to be something you're not supposed to be able to do though
@@GunsandGuitars69 r/whoooooooosh
2 years on and still relevant and still helping people. Thanks mate. Helping prepare me for a career in cyber security.
man yea just found him and he can pass knowledge flawlessly
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.
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!!!
Such a great teacher tbh, 20 minutes went by so quickly
Hi
lol trueeeee
yeah true
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.
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.
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.
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.
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.
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
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!
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 🙏
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.
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 UA-camrs but sometimes I get stuck when they assume you know basic things and leave them out.
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.
Chuck : "You have to update your family member list , now"
Happy apt-get upgrade.
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).
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!
Epic I love the pace he goes and does leap into mumbo jumbo without the clear breakdown.
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.
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!
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.
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 🙏
I'm 45 new to Linux, and this was a real crash course 100% effective. No jib iris, focused, well done. Respect
I am super grateful for these videos! Thank you so much for your hard work and dedication to helping us!
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?
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 !
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 !
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.
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.
I loved that you explained commands in a story format rather than just random cmds being thrown at us
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
The best series ever, than you so much !!!
Yeah
Thank*
Quick to the point lesson. Honestly some of the best learning content for CS right here on your channel.
want some lsd?
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.
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.
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.
You're such a great and engaging teacher, Chuck. Thank you!
I think my favorite thing about Linux has to be the picture in picture pop out feature for videos. My main issue with watching UA-cam 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!
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?
This man is putting my professors out of business. Thanks sharing knowledge in such a fun and understandable way.
One of the most fun and informative Linux tutorials I've ever seen. I didn't feel sleepy one time :-)
whoamI?
Bro love the video. It’s really starting to grow on me and prolly go to school for this.
As usual, love your content. Fun and informative!
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!
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!
Artix user here, Artix is arch but no systemd
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. ;)
Taking a Linux course now and it was cool to see these things in a less dry format!
hey man, I appreciate all that you do on here and providing us newbies with information. You do a really good job explaining, I love it. Be well my friend.
Tomorrow is my exam, but this seems more important.
👍🏻👍🏻
Yeah🤪
haha same but its over
Did you pass?
One of the rare ones that make learning fun! Great job NetworkChuck.
I can only recommend this as much as possible. Thank you for sharing. This is over the edge great and even better!!
Looking for easy explanations for some of my newer guys.. this is really good, thank you for this, keep it up
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.
you are an amazing teacher , thank you for making it fast and fun.
Honestly, best tutorial out there! Learnt so much! Thanks
At some point you have done voice work. Great skill to have and makes these videos really enjoyable. Very engaging personality. You found a way to make this technical info fun and intresting. Will check out Ep 1. Thanks
So much yesssssssssssss. And congrats on the new Bebeh Chuck!!!!
Your content is so good, thanks chuck :)
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. 👍🏻
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.
I've been waiting for thisss!!!!
Que clase tan epica. Gracias. Seria genial incursionar en temas como termux de esta manera
Love you vids, it really helps me because I'm still new to all of this, so thank you so much
Your videos make this content fun to learn and I'm always excited about what you're gonna say next.
Thank you for the series
I love it, i had to use a lot of this when the computer locked me out
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
His swag of teaching is crazy, he make each and every minute intresting in the video. Loved it boss
Loving this series! Keep 'em coming!
Congratulations for your new member. May she have a happy life
This was actually helpful. Some stuff was obvious but it really did clarify why things are where…. Thanks
i wish maybe you could create series about anything we need to know cause you are the best
Awesome communication skills....i recommended Your channel to my classmates....They are regreting for joining you so late🤡🤡😂
Your passion is infectious! Love watching your Linux videos!
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
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
Nothing was boring. Excellent presentation.
I can't wait for the next episode. Great work Chuck
Thanks James :)
You literally made me look at Linux with a whoooole different perspective! Thank you!
The pacing and presentation of this video is actually amazing.
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 ❤️
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
@@raghavbhardwaj5384 oh thankyou bro
If you accidentally try to perform a command that requires super user permissions without sudo (which I do all the time)
you can use the !! sequence which will repeat the last command given. This is easier than having to retype 'cat networkchuck' after sudo
and a LOT easier than having to retype some of the much longer commands which you will get into later. Instead just type 'sudo !!' and it
will just repeat the last command you attempted to run but with sudo on the front. You can also use a single ! followed by some character
to go through your history and repeat the last command you attempted starting with that sequence. Say I did some things after attempting
to cat networkchuck but I want to repeat that command with sudo. I can type 'sudo !cat' and it will find the last thing I attempted to cat and
retry that command with sudo on the front.
popped up on my home page as recommended could never have been a better recommendation. Started off with the vm video.
years later and this playlist is teaching me to love linux, thanks.
Wish my school had teachers like u…. Things could be different
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
i was originally taking udemy courses before i came across these videos and i can say i learned a lot more than i did from their site and you've helped me learn linux and made it easier to understand
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 !!
Chuck : It's Been A Lot
Me Who Is Enjoying It : I CAN DO THIS ALL DAY
The Internet approves of cat cat.
Also, surprised you didn’t change sudo to please LOL.
Lol. And DANG IT! Missed opportunity
Thank you so much, bro! I really appreciate it. You made it all easy for a newbie like me.
man you are so so good at explaining things that if I can I would literally watch your videos instead going to school lol.