i KILLED my Linux computer!! (to teach you something)

Sdílet
Vložit
  • čas přidán 10. 07. 2024
  • Access your FREE Linux lab here: ntck.co/htbacad (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: ntck.co/htb
    -HTB Academy: ntck.co/htbacad
    🔥🔥Join the NetworkChuck Academy!: ntck.co/NCAcademy
    **Sponsored by Hack The Box
    SUPPORT NETWORKCHUCK
    ---------------------------------------------------
    ➡️NetworkChuck membership: ntck.co/NCAcademy
    ☕☕ 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: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
    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
    #linux #linuxforhackers #hacking
  • Věda a technologie

Komentáře • 407

  • @faizanahmed9304
    @faizanahmed9304 Před 2 lety +204

    Hey Chuck, please continue your bash script series.

  • @michaelwaterman3553
    @michaelwaterman3553 Před 2 lety +34

    You know, I have the highest respect for how you create your videos. You have this ability to make something like explaining command-line entries a fun exercise to watch. Brilliant, educational and entertaining in one go. Respect!

  • @hiringsquad140
    @hiringsquad140 Před 2 lety +6

    studying for my a+ passed 1001 and now on the 1002, im recognizing about 90% of these commands, its nice to watch your videos in a semi fluent language! thanks for all your content chuck, you have inspired me to begin my IT path :)

  • @whistledev
    @whistledev Před 2 lety +9

    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

  • @me-yz6pd
    @me-yz6pd Před 2 lety

    Great video! I started watching your content during the pandemic and it really motivated me.. I've since enrolled in my local community College and acquired an associates in computer science, and have no plans to stop there. Big thanks!

  • @dezsmith9313
    @dezsmith9313 Před rokem +2

    Hey Chuck, I have been watching your video for the past 8months now and have learned a lot. Everything that I learned from you landed me a job as a Systems Engineer and now I am teaching/helping my younger brother get into tech as well. Please continue with the great content.

  • @gironth
    @gironth Před 2 lety +27

    Chuck, really, I learn with your videos more that I do by paying a complete course with a boring teacher. You really bring so much value for all of us who whach your videos. Thank you!

  • @pixelagent007
    @pixelagent007 Před 2 lety +17

    Linux: yea sure create a million directories whatever
    Windows: noooooo you can't call a folder CON thats illegal >:((

  • @TheStormicBeing
    @TheStormicBeing Před 2 lety +10

    I love this series. I have my own Linux machine, but I’m kind of curious if fenrear, a terminal screen reader, would work with Hack The Box. Thank you for saying out loud what you’re doing and what you’re typing, very descriptive for anyone with visual impairments and people in general.

  • @n0kodoko143
    @n0kodoko143 Před 2 lety +1

    Loving your channel and energy you keep bring over the years!

  • @jcbenge08
    @jcbenge08 Před 2 lety

    Glad you're back, Chuck! Hope your time off was relaxing, we don't want you to burn out!

  • @juliusrowe9374
    @juliusrowe9374 Před 2 lety +1

    Very cool vlog Chuck! Your vlogs are always informative and educational too! Keep them coming!

  • @Totally_Troll
    @Totally_Troll Před rokem

    I'm in love with your videos and Linux series. This is the best possible way to explain how this sucker works!
    Please make a video about Linux machine common troubleshooting. Like check what's happening with cpu/ram/memory, how to see what's wrong with database on a server or website if it's hosted on a linux machine.

  • @jojobobbubble5688
    @jojobobbubble5688 Před 2 lety +2

    Good to have ya back makin video's. As soon as you used the first "rm" command I was asking myself if you were gonna meme it or not. You did and I'm happy you did. Thanks for the learning experience, and for meme'ing it up.
    sudo rm -rf /

  • @kenkioqqo
    @kenkioqqo Před 2 lety +2

    NetworkChuck, you need to win the CZcamsr of the Year Award, RIGHT NOW! Man, even though I'm not in the networking or hacking industry, I just can't skip a video published by you.

  • @I_RacooN_I
    @I_RacooN_I Před 2 lety

    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..

  • @VinayKumar-je3yk
    @VinayKumar-je3yk Před 2 lety +7

    Finnally you remember that you have a Linux series

  • @abhinavarya9090
    @abhinavarya9090 Před rokem

    This series needs more videos !! great content!!

  • @rdx8122
    @rdx8122 Před 2 lety

    first video of NetworkChuck where i really learnt something (actually only something, but still something ), nice tutorial

  • @cameronhill2true
    @cameronhill2true Před 2 lety +4

    I love your videos! I don't think anyone else makes tutorials that are as detailed and exciting as yours. You're the reason I decided to build a homelab. Thank you for continuing to make great content!

  • @lucashonz8196
    @lucashonz8196 Před 2 lety

    i have been waiting for this !!!!!!! thx man you made my day with this Video

  • @DrSteveMorreale
    @DrSteveMorreale Před 2 lety

    That was a wild ride. It was a good review. Didn't know about the cloud Linux Lab systems, that seems pretty cool to me too!

  • @tensionspan
    @tensionspan Před 2 lety +5

    Try these for multiple directory and file creations:
    mkdir dirs{0001..9999}
    touch files{0001..9999}
    BTW in bash it's called "Brace expansion" and can some funky stuff with it. Look it up!

  • @kolex023
    @kolex023 Před rokem

    If you are back up files with cp command, use -p option to preserve time related metadata. It's really useful to see when it has actually modified last time, and not the time when it's been backed up.

  • @ajpalok
    @ajpalok Před 2 lety

    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! 😁

  • @justice32legends
    @justice32legends Před 2 lety +2

    Interesting ! Can't wait to test it out in my own hardware, ethically of course!

  • @papakeks
    @papakeks Před 2 lety +18

    Another simple way to create nested directories is with ranges.
    For example:
    mkdir -p \
    shelf{0..9}/book{0..9}/page{0..9}/letter{0..9}
    Then you get a path like this
    shelf0/book1/page2/letter3/
    And about 10000 directories 😉

    • @user-vy1kz1co9p
      @user-vy1kz1co9p Před 2 lety

      library of babel?

    • @andreasklindt7144
      @andreasklindt7144 Před 2 lety +1

      This is also a good example why scripting or learning cli commands should always be done in bash. Because when I enter your command in fish I get this:
      └── shelf{0..9}
      └── book{0..9}
      └── page{0..9}
      └── letter{0..9}
      4 directories, 0 files
      My advise to new linux users: Don't use fancy terminals like fish when you learn basic commands. Stay in bash for that.

  • @ChristineNavarromusic
    @ChristineNavarromusic Před 2 lety

    Love the Tree command! I've been using Linux for years and hadn't found this one... Yes to learning new things!

  • @DaveSomething
    @DaveSomething Před 2 lety

    when I was first learning, I re-dated all the files with touch, then when trying to fix it, I created enough files with touch to completely fill the hard drive. learning is fun!

  • @themistoclesnelson2163
    @themistoclesnelson2163 Před 2 lety +4

    I found this video interesting and fun. Thanks Chuck!

  • @di6176
    @di6176 Před 2 lety

    Yessir. Always a pleasure to see a new vid posted by you! Let's get the coffee ready!

  • @IntenseGrid
    @IntenseGrid Před 2 lety +14

    Directory vs Folder, unix and dos predate Windows with directory as both of them go way back and have the mkdir command. I think "Folder" might have originated with the Mac. AmigaDOS and GUI had an even worse "Drawers". Can't we all just go with an already set standard terminology of "directory"???

    • @falxonPSN
      @falxonPSN Před 2 lety

      I think you are correct that Macintosh was the first to use "folder" syntax which was then adopted by Windows 3.x. I can't remember what Windows 1.0 and 2.0 had but I want to say they still used "directories."

  • @dinohunter7176
    @dinohunter7176 Před 2 lety +2

    Fun fact: windows calls them folders, but in cmd is using mkdir as well to create folders

    • @v01d_r34l1ty
      @v01d_r34l1ty Před 2 lety +2

      It's more of a DE/CLI difference. When in a DE, most operating systems are going to refer to directories as "Folders." When in their respective CLI, they will be referred to as "Directories." (Edit: for clarification, DE stands for Desktop Environment and CLI stands for Command-Line Interface)

  • @sopulo4262
    @sopulo4262 Před 2 lety +8

    This video has lots of stuff inside it! 👍

  • @imationedit
    @imationedit Před 2 lety

    Nice videostuff man that bash command was awesome!

  • @NetworkChuck
    @NetworkChuck  Před 2 lety +34

    Access your FREE Linux lab here: ntck.co/htbacad (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: ntck.co/htb
    -HTB Academy: ntck.co/htbacad
    🔥🔥Join the NetworkChuck Academy!: 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

    • @madahge
      @madahge Před 2 lety +1

      Sir chuck! I created 1M a week ago in Linux and in windows. I m happy to be r student and that u also thought like me to create folders.
      code::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
      in Linux
      {
      mkdir c
      cd c
      /home/me/./folders.sh
      }
      it will reopen the script after the process is done
      code::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
      in Windows
      {
      :x
      mkdir %random%%random%%random%%random%
      goto x
      }
      code::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
      in windows, it was pretty simple cause I defined the function x & call it back after the work is done, like a loop. Btw it's so slow.

    • @d3m0n_mmt
      @d3m0n_mmt Před 2 lety +1

      are you fr colorblind?

    • @lostzhengli1060
      @lostzhengli1060 Před 2 lety

      @Not Convinced It's free for everybody to learn this, but how you want to use the knowledge is totally your thing. There are also lots of people learning ethical hacking to find bugs for companys before they get attacked

    • @lostzhengli1060
      @lostzhengli1060 Před 2 lety

      @Not Convinced actually though i kinda understand your idea so you know, you got a point

    • @Mk-dl5vb
      @Mk-dl5vb Před 2 lety +1

      Hello guys, I was not paying attention and during the installation of Windows 10, instead of formatting the C drive, I deleted it, and now I don't know what to do, please help me.

  • @unseen6yrand163
    @unseen6yrand163 Před 2 lety +2

    Thanks Chuck. I am so grateful I found you

  • @kiprotichenock5251
    @kiprotichenock5251 Před 2 lety

    Lots of things to learn from your channel, thanks Chuck.

  • @zapityzapzap
    @zapityzapzap Před 2 lety +10

    It's totally Windows that renamed directories to folders. Don't believe me? Remember MS-DOS? MKDIR, DIR, RMDIR, etc?

    • @anilkumarhansda8087
      @anilkumarhansda8087 Před 2 lety

      Wait I never thought about it that way ... I just typed mkdir like I do in Linux and moved on

    • @Shirtysneez
      @Shirtysneez Před 2 lety +4

      @tradde11 Actually there's a historical reason why Microsoft used "\". The first MS-DOS versions did not yet support directories. But "/" was already used by IBM as a "switch'" to run a program with an option to change the behavior of the program. For example: a sorting program might list names from a-z but using a switch the program reversed the order of the list.
      The word "switch" dates back to an actual switch on a computer in the 70ies. An operator (a real person) could load a program and (optionally) flip a switch to change the behavior of that program.
      Back then computers did not have computer screens. Everything was outputted to a printer.
      Most of the physical actions (like flipping a switch, loading a program) were done by a person: the operator. But soon lot of these physical actions were taken over by software: the 'operating system'. (the operator was replaced by the operating system)
      So when MS-DOS finally supported directories they could not use "/" as that was already being used as a program switch. So they chose "\".

    • @nathanlaird
      @nathanlaird Před 2 lety

      @@Shirtysneez Yes, it's IBM's fault. They could have just used "-" to pass parameters if they had been interested in being compatible with the Unix world.

    • @zyzsgy
      @zyzsgy Před rokem

      ​@tradde11it's fucking disgusting and they can't keep getting away with it

  • @Zer0nuke
    @Zer0nuke Před rokem

    Great content and an easy way to teach! Great job 👍🏼

  • @techlume7611
    @techlume7611 Před rokem

    Thanks a lot for this course. really learned a lot of things well explained and fun to watch.

  • @tratranvan8649
    @tratranvan8649 Před rokem

    Thank you very much for creating this course!! You make learning more interesting.

  • @seigfredvincentcagoco
    @seigfredvincentcagoco Před 11 měsíci +1

    Thanks, chuck! I just finished all your Linux for Hackers playlists.

  • @bobpond6381
    @bobpond6381 Před 2 lety +4

    Great content as always. Before Linus existed and when databases were prohibitively expensive I wrote a complete job control system in the first port of AT&T Unix to i386 using directory names as primary keys and the best we had at the time for forms on terminals. The file system was a pretty good database. We used that thing for years.

    • @nathanlaird
      @nathanlaird Před 2 lety

      I love hearing about creative uses of technology. We work with what we have!

  • @Holzf43ller
    @Holzf43ller Před 2 lety

    I recently found your Channel and I really like it, and this is the first series i finished. And i have to say: the information you present is really dense, this is awesome. And you are so high energy. Its awesome but also tiring. Maybe like a safeguard to not watch too many videos all at once so you learn better.
    Nevertheless: Awesome Work.

  • @jasonbaldini
    @jasonbaldini Před 2 lety +1

    I think you should add at the beginning for beginners to type alias and find out if there are any default aliases setup for commands you’re using, because it’s normal or has been normal that they are setup.

  • @riddlebawx
    @riddlebawx Před rokem

    Finished the series, I can say I've learned a few things, as a thank you, you got my Sub. ;)

  • @adelanteamicafe6060
    @adelanteamicafe6060 Před 2 lety

    Good video, i learned how to make files with data already in them. Didnt know i could do that. Good stuff

  • @sir6693
    @sir6693 Před 2 lety +2

    Not only he creates cool directories but he's also cool at teaching. Thank you for the amazing stuff you teach!

  • @SmokeytheBeer
    @SmokeytheBeer Před 2 lety

    I usually skip the sponsor segments, but that learning how hack service is pretty cool. (NSA or FBI if you're listening, learning how to hack so you can defend against it).

  • @Ts-mf8wx
    @Ts-mf8wx Před rokem

    Hello I am talking through the inspector element 😂😂I know something very minimal, what I want to say is. Thank you for these videos that you have made and all these wonderful tips, I have the attention span of a rubber band I draw to another video but then spring back trying to gain more information and then draw to another video but then come back learning more, yet your videos I stay and gather a lot of information and I love it. THANK YOU again

  • @CattopyTheWeb
    @CattopyTheWeb Před 2 lety

    Thanks for the video, Chuck. I appreciate it. Could you please continue your bash scripting series and the python series?

  • @abdusamadabdullakhanov518

    You are just .. "coffee break" .. just perfect :)

  • @Asherstitusworld
    @Asherstitusworld Před 2 lety +6

    Super Video Chuck Your videos are awesome And informative 😊

  • @zacherymahoney12
    @zacherymahoney12 Před rokem

    "Pruned our tree" haha. Kinda how i just pruned this burrito.

  • @James-li8cm
    @James-li8cm Před 2 lety +5

    directory became "folder" when windows 95 first came out (in the dos days it was directory)
    that is when they came out with the windows file explorer which displayed directories as folders...
    although apple did this same thing WAY BEFORE Microsoft ever did
    remember dos command to list contents of a "directory" is "dir" (dirp, dirp)
    but in the linux world which has always been command line first (insert political statement here), it has always been "directory"

    • @donaldmickunas8552
      @donaldmickunas8552 Před 2 lety

      Folders is a gui related term while
      Directory is a tty/command line related term. They mean the same thing from different perspectives.

  • @Chamaeleo
    @Chamaeleo Před 11 měsíci

    I just want to say sudo thank you to you! That was a great course, exactly what I needed :)

  • @krishnachaitanya5965
    @krishnachaitanya5965 Před 2 lety

    amazing video. learned lot of stuff today.❤

  • @TheNightcatsmeow
    @TheNightcatsmeow Před 2 lety

    About to watch a networkchuck video and realized i could not..
    I was NOT prepared...
    I rapidly hit space bar to pause the video sprang from the couch and rushed to the coffee machine..
    I'll play your video when i get back
    With my coffee...
    (actually because you came up in my cue shortly after i finished breakfast but i thought it was amusing cant watch network chuck without coffee)

  • @crodixcrodix2052
    @crodixcrodix2052 Před rokem

    pls do more videos on this playlist

  • @Ghoop3
    @Ghoop3 Před 2 lety

    finally been waiting for another video big fan

  • @petermergenthaler604
    @petermergenthaler604 Před rokem

    Bro I love your videos!!!
    You missed out a directory/anotherone/bites/the/dust joke hehe

  • @williamo1938
    @williamo1938 Před 2 lety

    You may think from Chucks joking, but this is a truly an eye opening learning experience.
    It proves that ms is just a data miner, not a software developer.
    This is how you show the true capabilities of good programming; by maxing things out to the limit, showing us how much are machines are truly capable of.

  • @theintrovertedsun5159

    new to linux.. cured my anxiety with this playlist.. thank you

  • @circadianrebel
    @circadianrebel Před rokem

    They are technically called "directories" in windows too. The use of "folder" in a colloquial term that showed up after GUIs became common, as an easier to understand concept for people that are less tech literate.
    The two can mostly be used interchangeably. In both windows and linux almost everything API or CLI uses "directory" and user facing GUI will use the word "folder" when needed.

  • @marveII0us
    @marveII0us Před 2 lety

    Awesome stuff mate

  • @seths1997
    @seths1997 Před 2 lety

    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

  • @davidbarber6268
    @davidbarber6268 Před 2 lety

    Got to love network chuck from a fellow bearded one, coffee drinker and IT novice

  • @A_Lesser_Man
    @A_Lesser_Man Před 2 lety

    you hit EVERY leaf on the way outta that tree, bro!

  • @DarkGT
    @DarkGT Před 2 lety +1

    You can change the color pallet of the terminal to match your visibility ability.

  • @scwyldspirit
    @scwyldspirit Před 2 lety

    That was pretty cool stuff Chuck

  • @aikiwolfie
    @aikiwolfie Před 2 lety +2

    The folder crap became popular with Windows 95. Before that folders were directories. Even in GUIs where they were folders.

  • @Darkk6969
    @Darkk6969 Před 2 lety

    I did the same thing years ago with a batch file in DOS on a floppy disk as I wouldn't dare trying it on a hard drive. lol

  • @odikophilip167
    @odikophilip167 Před 2 lety

    Seeing your face always make me to pause and see what you've got to say. 😀Thanks for all you do.

  • @markyoungkush2925
    @markyoungkush2925 Před 2 lety

    Great video !!

  • @NFLPHI
    @NFLPHI Před 2 lety

    Great Video Chuck...Thanks

  • @SuprousOxide
    @SuprousOxide Před 2 lety

    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

  • @dougm3162
    @dougm3162 Před rokem

    Dude literally the LITTLE things, like clearing your terminal with control+L...... this man is valid, certified goat even

  • @zahidjaan1319
    @zahidjaan1319 Před rokem +1

    Big thank u NetworkChuck !

  • @user-ur4ev7vl6c
    @user-ur4ev7vl6c Před 2 lety

    Thanks you for that videos! I think, that can find a DevOps job after you'r content; alias thankgs="man, you'r lessons are easy and beautiful"

  • @Gunslinger088
    @Gunslinger088 Před rokem

    I love to see Chuck breaking things lol

  • @gmc9753
    @gmc9753 Před 2 lety +1

    8:25 Actually, you can just use the command "mv file.txt coolstuff". If there is an existing directory called coolstuff in the current directory, the file will be put into that directory. If coolstuff doesn't exist, the file will be renamed to coolstuff in the current directory.

  • @dubsb540
    @dubsb540 Před rokem

    I love these courses!

  • @NK-iw6rq
    @NK-iw6rq Před rokem

    We love you Chuck !

  • @gmc9753
    @gmc9753 Před 2 lety +1

    UNIX called them directories from the very beginning back in the 60's, so it was Microsoft that had to be different. Interestingly, back in the DOS days, they were called directories.

  • @gregf9160
    @gregf9160 Před 2 lety +4

    A million directories on a Linux filesystem is irrelevant. Depends on the actual file system, but _any_ genuine UNIX or Linux FS wouldn't care.
    However, utilities like tree, and probably ls, will simply not work ...
    for example:
    ext4 does not limit the number of subdirectories in a single directory, except by the inherent size limit of the directory itself. (In ext3 a directory can have at most 32,000 subdirectories.) To allow for larger directories and continued performance, ext4 in Linux 2.6.23 and later turns on HTree indices (a specialized version of a B-tree) by default, which allows directories up to approximately 10-12 million entries to be stored in the 2-level HTree index and 2 GB directory size limit for 4 KiB block size, depending on the filename length. In Linux 4.12 and later the _largedir_ feature enabled a 3-level HTree and directory sizes over 2 GB, allowing approximately 6 billion entries in a single directory.

    • @jonakers704
      @jonakers704 Před 2 lety

      Having seen directories with hundreds of thousands of files in them (no... really... God I had biologists sometimes) this is both a blessing and a curse. A blessing because when those people created all of those little files (seriously, why do you need thousands upon thousands of little 4k files?) it did not crash the system, but also a curse because it let them create that many in the first place without saying "Nope... sorry... you have reached your limit... learn how to program better so that you aren't using the filesystem like a database!"

    • @jonathanbuzzard1376
      @jonathanbuzzard1376 Před 2 lety

      @@jonakers704 Argh the curse of the bioinfomatics people. I have seen that myself. What we do to "avoid" the problem on our HPC system in the first place is put a quota on the number of files they can have. I think we are at about 100 millions files on the file system now, but no individual user can have more than one million. Actually the hard quota is two million, with a 30 day grace period, but the soft quota is one million. Actually they can but they firstly have to ask and secondly there is a charge. Only a handful of people have ever asked and nobody has gone ahead when the issue of the cost was raised. Prior to the introduction of quotas on files we had one user with 17 million files. We are using GPFS and with the right setup a search of one billion files will take under an hour, ~15 minutes springs to mind.

    • @jonakers704
      @jonakers704 Před 2 lety

      @@jonathanbuzzard1376 We are using lustre for our HPC system, sitting on around seven PB of storage. Users have to purchase their storage allotment on the system, so they get to do with it as they wish. We have had to take an "education of the user" approach for huge numbers of files in order to combat the problem, as we are not able to utilize quotas on the number of files due to our favorite 8th OSI layer... politics.

    • @jonathanbuzzard6648
      @jonathanbuzzard6648 Před 2 lety

      @@jonakers704 well thankfully we are no longer using the pit of some that is Lustre and are on GPFS, but that is a different story. However the point is that in addition to cost for capacity, every file has a cost too. So a single file 1MB in size is cheaper to store than a thousand files 1KB in size. You are burning through those expensive flash disks for metadata rather than cheap large capacity spinners. You are also filling up the TSM database which is also on expensive flash. All we do is put a reasonable default limit on both capacity and number of files. Above this you have to pay and I have this costed out for both capacity and files. If a user wants to store 10 million files that is absolutely possible they just have to pay the full economic cost of doing so, and they baulk at the cost in my experience. Basically it means they have to have a discussion with use *before* they store millions of files which gives us the opportunity to educate them.

  • @Gizabyte0
    @Gizabyte0 Před rokem

    So glad you taught me how to use VMs lol. Welp time to break a VM :D

  • @aelabassi97
    @aelabassi97 Před 2 lety

    hilarious haha, Hey check. I liked your music background, can you tell me its name?

  • @nikunjbhoyar5729
    @nikunjbhoyar5729 Před 2 lety

    Great Video Chuck

  • @WoodyWilliams
    @WoodyWilliams Před 2 lety

    Wow! Even though you've got above-average bandwidth, that's some apparent delay between your key-presses and HTBa.

  • @cjcox
    @cjcox Před rokem

    Old Unix guy: ls -F (types without long format) and maybe in the case of directories with lots of stuff, ls -f (no sort, a time saver in cases of large number of things to sort).

  • @paulistastars
    @paulistastars Před 2 lety +1

    windows also call Directories es in Unix, people started to call it folders after windows got a GUI

  • @PATATASAIMBOT
    @PATATASAIMBOT Před 2 lety +2

    Bro you're cool you're my favourite youtubers i learned alot from you

  • @dublin18
    @dublin18 Před rokem

    Thanks! I made it to the last episode in the series

  • @pet-master
    @pet-master Před 2 lety

    Sir You are awesome and your videos are awesome and I want you publish your videos daily

  • @alessandro8895
    @alessandro8895 Před 2 lety

    where have you been a year ago, when I was learning this on the go?

  • @austinmorganmakesmusic
    @austinmorganmakesmusic Před 2 lety +1

    Nice video. You could run: mkdir dir{1..1000000} and that would also do it.
    You could then run top and or htop in another window/terminal to watch how that effects the machine.

  • @cse03raghuveerawankar31
    @cse03raghuveerawankar31 Před 2 lety +2

    Next video:
    I created 1 million Linux distributions.

  • @rocksonlouisj.4458
    @rocksonlouisj.4458 Před rokem

    Finally finished the linux for hacker course!!! Time to get serious now!!!

  • @epmcgee
    @epmcgee Před 2 lety

    Folders on Windows are still referred to as directories. That is a uniform description. Windows just also calls it a folder.