Access your FREE Linux lab here: (HTB Academy)
Have you ever wanted to destroy Linux or even create more directories than you could imagine? Well in this video, NetworkChuck shows you how to break your linux box as well as how to create a million directories!! He also shows you some helpful commands too…. But we know why you’re here.
Checkout HTB:
-HTB:…
Access your FREE Linux lab here: https://bit.ly/3FJOXnN (HTB Academy)
Have you ever wanted to destroy Linux or even create more directories than you could imagine? Well in this video, NetworkChuck shows you how to break your linux box as well as how to create a million directories!! He also shows you some helpful commands too…. But we know why you’re here.
Checkout HTB:
-HTB: https://bit.ly/3dZ31NF
-HTB Academy: https://bit.ly/3q80iqC
🔥🔥Join the NetworkChuck Academy!: https://ntck.co/NCAcademy
**Sponsored by Hack The Box
0:00 ⏩ Intro
0:57 ⏩ Get your free Linux lab!
2:10 ⏩ Let’s get to our happy place!
2:22 ⏩ Time to touch some files
3:30 ⏩ a new way to use cat?
4:43 ⏩ echo “How to use echo to create a file with text inside” – Thistimestamp.txt
5:49 ⏩ Now let’s make some folders… I mean directories
7:36 ⏩ Time to mv some stuff
10:53 ⏩ You can’t cp this!
12:36 ⏩ How to make a million directories!
15:38 ⏩ Ready to destroy some stuff?
20:05 ⏩ Time to really make a million directories!
21:51 ⏩ Outro
You should see what happens when there are too many files in a directory. Seriously go look.
Thanks Chuck, you have made my move over to Linux from years of using windows so easy and simple… your teaching style fits so well with me..
So technically you killed a vm running over the internet NOT A SYSTEM on your machine.
Your videos are amazing! Not only does it show how powerful computing is but how easy it is to get started from beginner and up, thanks alot Chuck! Very Professionally Made Videos
Hi
What you use Ubuntu or Kali Linux
Thanks!
Love the Tree command! I've been using Linux for years and hadn't found this one… Yes to learning new things!
Hello Mr thanks so much for your videos I really like them for the time you took to explain. Now I need your help, please help me to build a VPN to change my location to work online because there are some websites don't accept the country in wich I live. I already build one by using outline and Oceandigital like cloud provider but it'snt work perfectly, When I aske for a payment their system discover that I use a VPN and they block my account
Shave that beard
protect this man at all costs
Before watching the scene in 17:51 , I was literally thinking about the special remove command that I watched in one of your old video and then you mentioned that! 😁
Hi… Please, don't create a regular file with "touch" command! Instead, use bash built-in ">" because "touch" is used to modify the file's timestamp. ">" is a lot more faster. For instance: ">myfile.txt"
Thanks.
another tip to make it easier to distinguish directories/files (even types of files) in a terminal.
1. install an app called exa
2. make an alias using [ alias ls=exa –icons' ] and save it in your terminal script (~/.bashrc if you are using bash)
type ls now and see how it looks now with new fancy icons right next to the file names
Use -F with ls to make it easier to see what the "file" is, for example directories are appended with /. Better, make it an alias: alias ls="ls -F". I can't remember ever having used here documents on the command line, but they are useful in scripts. You don't need ./ in front of the directory name unless in certain circumstances. It is enough with mv a.text directoryname
I was honestly expecting you would run something like `mkdir -p ./{0..9}/{0..9}/{0..9}/{0..9}/{0..9}/{0..9}` to create a wonderfully messy 10⁶ directories. Or maybe this combined with a touch command to have each directory populated with at least 1 file.
Anyways, kudos with another nice and energetic video.
Thanks
Your great work has resulted in tangible Ricch dawg You’re a force to be reckoned. I really prissh8 the cloned card ya mailed to me in a easy way and successfully cashout
Hi chuck do u know a command that I can replay pcap files in security onion it’s the same as Ubuntu I don’t know if you know what that is
DOS had directories, too. So it was definitely Windows being different calling them folders (copying Mac, really)
All the dos commands, powershell commands and windows api commands still call them directories, too. Only folders in explorer
13:22 pretty sure DJ Khaleds directory looks like this
Wow! Even though you've got above-average bandwidth, that's some apparent delay between your key-presses and HTBa.
Folders on Windows are still referred to as directories. That is a uniform description. Windows just also calls it a folder.
Chuck: Linux
Subtitles: Lennox💀💀💀
That is actually an old 1989 and 90 hack that continuously create directories until the pc and or servers are unusable!!
The right arrow overrides while the double right arrow appends.
Fun fact: `ls` breaks at 32,767 files in a single directory ;). Don't ask me how I found out …
"We can also touch a lot of things"
yea and some of them put you behind bars
It's not based on linux it's based on the filesystem and nodes.
I think the directories being called folders thing originated with the Macintosh. It's a bit simpler for non techies to understand.
This video is –F# AMAZING .!!! I am gonna PIN it and WALLPAPER it !!!!! COPY it and PASTE it in multiple DIRECTORIES on my TREE!!! THANK YOU, NETWORKCHUCK!!!
I didn’t know that networkchuck is colorblind
Folder makes a lot more sense to laymen
Directory makes a lot more sense to superusers
I thought you were going to run the system out of inodes!
Lots of things to learn from your channel, thanks Chuck.
Sir can you please teach how to install any kind of software in system and how to handle the troubleshoot in it
Sorry chuck but the fact that when you say i hate colors and the screen goes grey i laughed 6:20
I used AIX – the IBM implementation of UNIX and fell in love with the environment: piping, SED, AWK and its fiendish one-liners. I wrote several utilities including one grave omission: APL's iota. ./iota goes like this: lptest 1 $2 | nl -v $1 -b a -n ln | cut -f1 >> $3 and you can use it like this: ./iota 1 9 | while read a ; do ; wall please logoff system is due for maintenance ; sleep 10 ; end
… something like that.
I haven't touched a machine in almost 10 years so there might be mistakes. Based on iota I can and did filled ANY disk storage with numbered files using lptest until the filesystem reported 0 blocks free. I could control matters using iota so as not to exhaust the number of inodes available. I called this other program fulltank. It does not run automatically since creating the necessary filesystems got trickier and trickier as the disk sizes grew but fulltank NEVER failed to fill all those blocks. Writing EVERY block triggered the bad block relocation code to preempt write failures. Existing files sitting on defects could be detected with sum *. Delete those files and run fulltank to occupy every block and clean up by deleting those fulltank files. I call this the "buang sial" technique.
geez, I can't imagine working on the terminal without seeing colors
Sorry about your colorblindness. It's sky blue-ish.
Hi the King of tech
Love your videos
Could have done it as a one liner: mkdir -p ./{1..1500}/anotherone/bla/bla
I'm guessing you hit file system limitations (maybe exhausted the number of inodes). Would be interesting if you tried different ones like xfs, btrfs, etc. and see how far you get on directory counts