Awesome Linux Tools - ncdu, Scan your Hard Disk and free up Space!

  Рет қаралды 27,458

Learn Linux TV

Learn Linux TV

Күн бұрын

Пікірлер: 84
@alain-pierrep.312
@alain-pierrep.312 2 жыл бұрын
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.
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
That's a great tip! I didn't know about that actually. I'm totally pinning your comment.
@yuzhu2547
@yuzhu2547 Жыл бұрын
Your explanation is clear and well-paced. It's a treasure!
@roylopez6673
@roylopez6673 2 жыл бұрын
I'm using this for 3years now, one of my favorite command.
@elizabeththompson4424
@elizabeththompson4424 2 жыл бұрын
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...
@ToXXeRR
@ToXXeRR 2 жыл бұрын
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.
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
Yay! I'm glad you liked it. 😀
@jons2447
@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!
@pawouapproval984
@pawouapproval984 2 жыл бұрын
Just got your book, really fun to read!
@trapspringer9891
@trapspringer9891 2 жыл бұрын
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.
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
Glad it was helpful!
@AlexSeibz
@AlexSeibz 2 жыл бұрын
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 :)
@help2day
@help2day 2 жыл бұрын
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
@priit7777
@priit7777 2 жыл бұрын
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
@Boom-i9x Жыл бұрын
Thanks again! Another quick and effective, amazing tuitorial!
@joshinils
@joshinils 2 жыл бұрын
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
@douglaswalker2201
@douglaswalker2201 2 жыл бұрын
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
@kendarr
@kendarr 2 жыл бұрын
Thanks!, I have a lot of problems with space in my machine and this software is just magic.
@gwgux
@gwgux 2 жыл бұрын
Cool! I haven't heard of this one. Now added to my toolbox!
@CasperLabuschagne
@CasperLabuschagne 2 жыл бұрын
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-ChrisPratt
@Not-THAT-ChrisPratt 2 жыл бұрын
This is EXACTLY what I have been looking for. Thank you!
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
Glad it was helpful!
@zulhilmizainudin
@zulhilmizainudin 4 ай бұрын
Very useful. Thanks for sharing this!
@sidtronics
@sidtronics 3 ай бұрын
You can use -r flag for read only. That way using sudo ncdu is safer.
@pleaseenteraname1215
@pleaseenteraname1215 2 жыл бұрын
keep doing this man I love it
@MrGibdos
@MrGibdos 2 жыл бұрын
Thanks for that nice tip. I was looking for a WinDirStat alternative for linux a couple of weeks ago.
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
And you just found it. Also, Baobab is the GUI equivalent of this for anyone that wants it.
@magicmanj32
@magicmanj32 2 жыл бұрын
Great video Jay
@imzsoul
@imzsoul 2 жыл бұрын
this came in handy , thank you!
@hamatawah3698
@hamatawah3698 2 жыл бұрын
haha, good one make sure you have it installed before running out of disk space, got me there!
@unbekannter_Nutzer
@unbekannter_Nutzer 2 жыл бұрын
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.
@hamatawah3698
@hamatawah3698 2 жыл бұрын
@@unbekannter_Nutzer that's awesome, thank you very much.
@Awcator
@Awcator Ай бұрын
Damn thanks. I used to do du with max depth 1 on each folder recursively.
@Im.Tabachnik
@Im.Tabachnik 2 жыл бұрын
Like always, awesome tutorial. I use it in day to day in my Linux servers and is help me a lot.
@ultron7461
@ultron7461 2 жыл бұрын
excellent info.... ALWAYS. thank you Sir.
@MNTwinsGeek
@MNTwinsGeek 2 жыл бұрын
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.
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
I've actually done that too, especially in cases when the underlying package system within the installation was broken.
@reezlaw
@reezlaw 2 жыл бұрын
Thank you, this helped a lot! I didn't know about it!
@karthicr7875
@karthicr7875 2 жыл бұрын
Wow .I learned something new . Thanks 🙏
@albert30300
@albert30300 2 жыл бұрын
Thanks for this. Went searching for a GUI version and found QDirStat
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
There's also Baobab as well.
@alexandrosvangelatos9979
@alexandrosvangelatos9979 2 жыл бұрын
Great video, never heard of this tool. I usually use gnome's disk utility to look for large files Thanks Jay 🍻
@neiltropolis
@neiltropolis 2 жыл бұрын
I did not know.. Thank you!
@1Maklak
@1Maklak 2 жыл бұрын
Personally, I prefer a GUI disk usage tool, but this one would work through ssh.
@bg4801
@bg4801 2 жыл бұрын
Thank you for your great videos!
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
My pleasure!
@maginos1310
@maginos1310 2 жыл бұрын
Thank you for this great video showing an awesome tool. I will definitely install it on all my Linux systems. 👍
@esbtux
@esbtux 2 жыл бұрын
And if not in CLI land, there is k4dirstat in KDE space.
@Rensuke_Hero-gami
@Rensuke_Hero-gami 2 жыл бұрын
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_km
@vaisakh_km 2 жыл бұрын
Just only yeasterday i seached for a such a utililty, and now youtube recomended it.... Little creepy, but boi, i love it...
@vino9587
@vino9587 2 жыл бұрын
hello sir, is it possible to install linux debian on 18TB Harddisk ?
@guilherme5094
@guilherme5094 2 жыл бұрын
That was great 👍!
@colloidalsilverwater15ppm88
@colloidalsilverwater15ppm88 2 жыл бұрын
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?
@TeknoDunya666
@TeknoDunya666 2 жыл бұрын
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.
@williambaldwin9346
@williambaldwin9346 2 жыл бұрын
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.
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
It should be "which" instead of "wich"
@AndersonOliveira-rm1rv
@AndersonOliveira-rm1rv 2 жыл бұрын
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
@phelti Ай бұрын
Hey👋🖐Как посмотреть содержание sda4, кoторый не получается смонтировать?
@alexandermironov8151
@alexandermironov8151 2 жыл бұрын
is safe to delete file from /var/log/journal/ ?
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
I wouldn't. There's specific commands to clear that file.
@rauchu5861
@rauchu5861 6 ай бұрын
thanks stranger
@karthy257
@karthy257 4 ай бұрын
Awesome. Now I look like a hacker 😂
@MarkVanderberg
@MarkVanderberg 2 жыл бұрын
I like Gdu more!!
@lemonarioi
@lemonarioi 2 жыл бұрын
Tnx
@TheFartfish
@TheFartfish 2 жыл бұрын
Food for algorithm ;-)
@PS_Tube
@PS_Tube 2 жыл бұрын
ncdu aka nice du.
@Ranblv
@Ranblv 2 жыл бұрын
youtube is playing games with your channel. this video showed up in my sub page but the sar video does not.
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
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!
@sbiccaa3584
@sbiccaa3584 2 жыл бұрын
I am getting used to the bearded ! if you shaved now it would look off !
@TheShadowKarl
@TheShadowKarl 2 жыл бұрын
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?
@TheShadowKarl
@TheShadowKarl 2 жыл бұрын
@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.
@TheShadowKarl
@TheShadowKarl 2 жыл бұрын
@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.
@TheShadowKarl
@TheShadowKarl 2 жыл бұрын
@Terminalforlife (LL) I have been searching for 'The Linux Cast' trying to find it but so far with no luck.
@TheShadowKarl
@TheShadowKarl 2 жыл бұрын
@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.
@TheShadowKarl
@TheShadowKarl 2 жыл бұрын
@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.
@akhileshbhatt1175
@akhileshbhatt1175 2 жыл бұрын
Second
@Futschikatores
@Futschikatores 2 жыл бұрын
I find it very confusing, and frankly also annoying, that many Linux commands default to "BiBytes". What for? I do not get it.
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
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_Nutzer
@unbekannter_Nutzer 2 жыл бұрын
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.
@НатальяДенисова-г7е
@НатальяДенисова-г7е 2 жыл бұрын
kfefilpp kzbin.info/aero/PLatBUqXIPJGj7c_CsXA3X6WeCYjRcT1Hz
Linux Crash Course - The sar Command
8:40
Learn Linux TV
Рет қаралды 19 М.
Linux Crash Course - The df and du Commands
20:28
Learn Linux TV
Рет қаралды 31 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Linux Crash Course - Bash History
14:32
Learn Linux TV
Рет қаралды 15 М.
Using nmap to scan networks (Awesome Linux Tools)
16:07
Learn Linux TV
Рет қаралды 37 М.
Linux Crash Course - Formatting & Mounting Storage Volumes
32:28
Learn Linux TV
Рет қаралды 268 М.
Linux Crash Course - Understanding Memory and Swap Usage
20:55
Learn Linux TV
Рет қаралды 51 М.
Linux Command-Line Tips & Tricks: Over 15 Examples!
31:37
Learn Linux TV
Рет қаралды 222 М.
10 Linux Terminal Tips and Tricks to Enhance Your Workflow
44:16
Learn Linux TV
Рет қаралды 99 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,2 МЛН
Linux Crash Course - sudo
26:11
Learn Linux TV
Рет қаралды 71 М.
Linux Crash Course - systemd: Using the systemctl command
26:32
Learn Linux TV
Рет қаралды 102 М.
Linux Crash Course - htop
16:43
Learn Linux TV
Рет қаралды 47 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.