Excellent tutorial ! ncdu is a lightweight must-have. I often use the "-q" (or "--slow-ui-updates") parameter, to restrict screen refresh rate, time/bandwidth consuming via ssh on a slow link. "screen" or "tmux" are also handy to start ncdu on a huge storage. You can leave ncdu running in the background and come back later to see the results.
@LearnLinuxTV2 жыл бұрын
That's a great tip! I didn't know about that actually. I'm totally pinning your comment.
@yuzhu2547 Жыл бұрын
Your explanation is clear and well-paced. It's a treasure!
@roylopez66732 жыл бұрын
I'm using this for 3years now, one of my favorite command.
@elizabeththompson44242 жыл бұрын
didn't know about this... hey, I just used two interesting commands - 'fold' & 'uniq' I used them to catalog my binary directory you know, finding what has man entries or not, used 'whatis' for that deep into the 'awk' processing as well, love it thanks to the new catalog I have discovered things...
@ToXXeRR2 жыл бұрын
great video as always. I am pretty new at linux and find your videos super helpful. I like how you went layer by layer deeper into the topic rather than listing all the tools.
@LearnLinuxTV2 жыл бұрын
Yay! I'm glad you liked it. 😀
@jons2447 Жыл бұрын
"THANK YOU!", Jay! THAT's what I'm talkin' about! Short, sweet, & really neat! I'm still a newb so I know I need all the help I can get. I started w/ MX about 2019 (v. 18.2?) when winx turned into crap on me. I'm 67 so I think different. I *REALLY* appreciate the instruction, GREAT job, pal! Now if I could find a site that starts w/ the basics & builds. Have a GREAT day, Neighbor!
@pawouapproval9842 жыл бұрын
Just got your book, really fun to read!
@trapspringer98912 жыл бұрын
Wow, thank you for this video. As a Linux enthusiast, I will have to add this to my tool arsenal for my home computers and servers.
@LearnLinuxTV2 жыл бұрын
Glad it was helpful!
@AlexSeibz2 жыл бұрын
Awesome video! It was nice talking to you the other day too :) Big fan of the new animations for other distros' commands, and loving the seamless transitions :)
@help2day2 жыл бұрын
The command du is installed on most Linux distros. And Can doo similar checks. If you run out of space , monut a usb drive in your Home sub dirs. Example Mount /dev/sdd /Home/user Then you Will be able to install nessesary programs. And run diagnostics
@priit77772 жыл бұрын
your suggestion to use -x does exclude also locally mounted SDD's. like I have in my computer 3 local disks and 3 external NAS disks. -x excludes NAS + 2 local disks.
@Boom-i9x Жыл бұрын
Thanks again! Another quick and effective, amazing tuitorial!
@joshinils2 жыл бұрын
this is great if i am not looking at a device "in-person", i.e. via ssh for example. otherwise gdmap is an equivalent gui program to the windows treesize, this shows disc usage in nested boxes, which i think is useful in understanding what takes up how much space without listing a bar graph like ncdu does
@douglaswalker22012 жыл бұрын
This is awesome. I was using du -sch * for the longest time and drill down manually. This is far easier and better and to use with wsl on Windows
@kendarr2 жыл бұрын
Thanks!, I have a lot of problems with space in my machine and this software is just magic.
@gwgux2 жыл бұрын
Cool! I haven't heard of this one. Now added to my toolbox!
@CasperLabuschagne2 жыл бұрын
Once every six months of so I find that Linux goes mad and sure enough, running ncdu shows that I have run out of hard-drive space. Thus twice a year I run ncdu and it saves my digital life every time. My biggest problem with ncdu is that by the time I need to use it, I have forgotten what the command was that I used last time.
@Not-THAT-ChrisPratt2 жыл бұрын
This is EXACTLY what I have been looking for. Thank you!
@LearnLinuxTV2 жыл бұрын
Glad it was helpful!
@zulhilmizainudin4 ай бұрын
Very useful. Thanks for sharing this!
@sidtronics3 ай бұрын
You can use -r flag for read only. That way using sudo ncdu is safer.
@pleaseenteraname12152 жыл бұрын
keep doing this man I love it
@MrGibdos2 жыл бұрын
Thanks for that nice tip. I was looking for a WinDirStat alternative for linux a couple of weeks ago.
@LearnLinuxTV2 жыл бұрын
And you just found it. Also, Baobab is the GUI equivalent of this for anyone that wants it.
@magicmanj322 жыл бұрын
Great video Jay
@imzsoul2 жыл бұрын
this came in handy , thank you!
@hamatawah36982 жыл бұрын
haha, good one make sure you have it installed before running out of disk space, got me there!
@unbekannter_Nutzer2 жыл бұрын
You might use `sudo find / -size +1G -ls` in such cases. But it''s not as convenient to drill down into directories and searches for individual files, while, of course, you could use `find -maxdepth -type d 1 -exec du -sh {} ";" | sort -rh | head`. Then, when drilling down, I found that some sort of caching occurs - subsequent invocations for subdirectories are way faster, than for the parent dir.
@hamatawah36982 жыл бұрын
@@unbekannter_Nutzer that's awesome, thank you very much.
@AwcatorАй бұрын
Damn thanks. I used to do du with max depth 1 on each folder recursively.
@Im.Tabachnik2 жыл бұрын
Like always, awesome tutorial. I use it in day to day in my Linux servers and is help me a lot.
@ultron74612 жыл бұрын
excellent info.... ALWAYS. thank you Sir.
@MNTwinsGeek2 жыл бұрын
A statically linked copy of ncdu placed in/root is part of my server build script. Saved my bacon a few times when a drive filled up.
@LearnLinuxTV2 жыл бұрын
I've actually done that too, especially in cases when the underlying package system within the installation was broken.
@reezlaw2 жыл бұрын
Thank you, this helped a lot! I didn't know about it!
@karthicr78752 жыл бұрын
Wow .I learned something new . Thanks 🙏
@albert303002 жыл бұрын
Thanks for this. Went searching for a GUI version and found QDirStat
@LearnLinuxTV2 жыл бұрын
There's also Baobab as well.
@alexandrosvangelatos99792 жыл бұрын
Great video, never heard of this tool. I usually use gnome's disk utility to look for large files Thanks Jay 🍻
@neiltropolis2 жыл бұрын
I did not know.. Thank you!
@1Maklak2 жыл бұрын
Personally, I prefer a GUI disk usage tool, but this one would work through ssh.
@bg48012 жыл бұрын
Thank you for your great videos!
@LearnLinuxTV2 жыл бұрын
My pleasure!
@maginos13102 жыл бұрын
Thank you for this great video showing an awesome tool. I will definitely install it on all my Linux systems. 👍
@esbtux2 жыл бұрын
And if not in CLI land, there is k4dirstat in KDE space.
@Rensuke_Hero-gami2 жыл бұрын
This looks lightweight compare to the DiskAnalyzer that's preinstalled within my Zorin OS(I think it's a utility from Gnome, not Zorin in particular) because whenever I wanna check my storage, it takes a couple minutes of loading
@vaisakh_km2 жыл бұрын
Just only yeasterday i seached for a such a utililty, and now youtube recomended it.... Little creepy, but boi, i love it...
@vino95872 жыл бұрын
hello sir, is it possible to install linux debian on 18TB Harddisk ?
@guilherme50942 жыл бұрын
That was great 👍!
@colloidalsilverwater15ppm882 жыл бұрын
Linux user for many years. Never heard of this tool . Thanks. But, have to ask why it is not some kind automated, or maybe prompted, at least, just to be better than other OS's?
@TeknoDunya6662 жыл бұрын
Your nextcloud video was great. Thank you for that. Would you please help out with reverse proxy and Cert management in front of nextcloud, to harden security for home hosting? Thank you for all the great videos.
@williambaldwin93462 жыл бұрын
Question. Running Linux Mint here, latest version. I do not have that wich command installed and doing a sudo apt-get install wich, it can't find it.
@LearnLinuxTV2 жыл бұрын
It should be "which" instead of "wich"
@AndersonOliveira-rm1rv2 жыл бұрын
I recommend you to test the Brazilian distribution called Big Linux that changed its base from Ubuntu to Manjaro. It is the oldest active Brazilian distribution, you can be sure that you will be surprised at how they have improved KDE in many ways.
@pheltiАй бұрын
Hey👋🖐Как посмотреть содержание sda4, кoторый не получается смонтировать?
@alexandermironov81512 жыл бұрын
is safe to delete file from /var/log/journal/ ?
@LearnLinuxTV2 жыл бұрын
I wouldn't. There's specific commands to clear that file.
@rauchu58616 ай бұрын
thanks stranger
@karthy2574 ай бұрын
Awesome. Now I look like a hacker 😂
@MarkVanderberg2 жыл бұрын
I like Gdu more!!
@lemonarioi2 жыл бұрын
Tnx
@TheFartfish2 жыл бұрын
Food for algorithm ;-)
@PS_Tube2 жыл бұрын
ncdu aka nice du.
@Ranblv2 жыл бұрын
youtube is playing games with your channel. this video showed up in my sub page but the sar video does not.
@LearnLinuxTV2 жыл бұрын
That's actually due to an error on my part. The original sar video had an error, so I deleted it and reuploaded it. I unchecked the notify subscribers button because I didn't want people to see it a second time. I think at this point I can re-enable that to fix it. Thanks!
@sbiccaa35842 жыл бұрын
I am getting used to the bearded ! if you shaved now it would look off !
@TheShadowKarl2 жыл бұрын
Sorry to post here but I have a question regarding an Arch Install Tutorial video you did a year ago... When I get to the step near the end where we reboot without the Installer everything appears fine but Wireless connection is lost and the command to fix it doesn't work. Since no one was responding to my question I started the whole process again and I am having the exact same issue I had the first time. I have tried finding posts about this issue but I am not having any luck. Can someone with a better understanding of Linux and specially Arch help me with it?
@TheShadowKarl2 жыл бұрын
@Terminalforlife (LL) I did follow the instructions precisely and before the reboot there was internet and while I don't recall him saying, "this is the network manager download/install" I assume that was part of what we did. I went through all the steps twice the second time I took copious notes too trying to be extra certain I didn't miss a step but I didn't find anything I missed. As for the Arch Wiki, I did look at it more than once and I tried to search for the exact issue I encountered and I never saw anything that looked like the problem I was having. I also searched KZbin for this issue and I didn't really find a good match. In regards to the Arch Wiki I am brand new to Arch and Linux in general and to using this wiki but I did search for my bug and the issues I found were not matching the issues that appeared in the search. Both times I did the install I arrived at the same big, but reading through the bug reports I found on the Arch Wiki was a confusing exercise at best. Trying to determine if an issue is the same as someone else's when we have that person describing issues vaguely and it doesn't sound quite the same is a rough starting point because I can't even determine if this is the same problem. Then I proceeded to read through troubleshooting with another person asking them if they tried a bunch of different commands that again we don't even know yet as we're new to the OS and the person with the bug is saying, "nope that didn't work", "neither did that" for pages and pages was not helpful. I still couldn't find enough overlap with their bug to decide if it was a related issue or something different. It was at this point I asked via the comments. I have no idea what is going wrong. I am thinking about trying one of the Arch Installers to see if I can get this done that way if no one can help me solve this problem. Thanks for responding, you're the first person to even comment.
@TheShadowKarl2 жыл бұрын
@Terminalforlife (LL) I recently got on Discord for a DnD game I am a part of. I am very new to it. I will try to find the channel and see if I can join.
@TheShadowKarl2 жыл бұрын
@Terminalforlife (LL) I have been searching for 'The Linux Cast' trying to find it but so far with no luck.
@TheShadowKarl2 жыл бұрын
@Terminalforlife (LL) Found it, I feel dense. I was looking on Google etc. I found your website but not your Discord. However with your KZbin channel I was able to find it. I just Joined up. It says I have to be a member for ten minutes before I can post.
@TheShadowKarl2 жыл бұрын
@Terminalforlife (LL) I joined but it won't let me post anything. It says "failed to send message.". It initially said this may be because I don't share a server with the host.... I'm not sure what this means for my prospects to actually communicate with the group.
@akhileshbhatt11752 жыл бұрын
Second
@Futschikatores2 жыл бұрын
I find it very confusing, and frankly also annoying, that many Linux commands default to "BiBytes". What for? I do not get it.
@LearnLinuxTV2 жыл бұрын
There's a very good reason for this, actually. I'm going to try and make a video at some point to go over it. I'm not sure when I'll have that done, but I think it's probably best for me to cover this specific thing.
@unbekannter_Nutzer2 жыл бұрын
I guess this is because they happened to always use Kibi-, Mibi-, and XIbibytes, they just used the classic notation kb, Mb and so on, until the ~ibi-notation was promoted, so they only changed the notation, not what they were doing. Of course the SI notation was standardized much more early, so there was nothing to argue about, who has to adapt to what, and it was really a concern when people were buying hard drives and so on, with misleading or ambiguous claims about their size.