How to Check Linux Disk Space | Linux DF and DU Commands | How to Clear Space | Linux Tutorials

  Рет қаралды 36,814

Virtual IT Learning

Virtual IT Learning

Күн бұрын

Пікірлер: 25
@amitdubey986
@amitdubey986 2 жыл бұрын
Very well explained. I am new to Linux and this would really help in determining disk utilisation issues. Really appreciate your video.
@virtualitlearning1475
@virtualitlearning1475 2 жыл бұрын
Thank you. Appreciate your feedback.
@antarinchakrabarty8896
@antarinchakrabarty8896 2 жыл бұрын
Very nice illustration through examples...combining output of du/df with grep, sort etc. Very useful. I will re-visit surely in the course of work
@virtualitlearning1475
@virtualitlearning1475 2 жыл бұрын
Thank you. Appreciate your feedback.
@sivaprasadghanta
@sivaprasadghanta Жыл бұрын
very well explained. in the server if we unable to execute the df,du commands how to check disk utilization
@lorianguillaume
@lorianguillaume Жыл бұрын
Thank you so much for sharing your knowledge! It was very helpful 🙏
@shankarijayaram8044
@shankarijayaram8044 2 жыл бұрын
Great video.. Thanks much for this information and video is very clear.
@virtualitlearning1475
@virtualitlearning1475 2 жыл бұрын
Thank you. Appreciate your feedback.
@ShankarDada010
@ShankarDada010 Жыл бұрын
What is the command to check total space of Linux server
@excalibur7733
@excalibur7733 2 жыл бұрын
Can u tell me exactly how to clear disk space for linux because I need more disk space or I don't have enough.
@virtualitlearning1475
@virtualitlearning1475 2 жыл бұрын
Hello, the first step is to identify the top files / folders with their consumption. Please use the commands below: a) du -shc * | sort -nr (you can also add | grep G at the end to list only the folders with GB’s in size) b) Now to remove an unnecessary folder, use the command: rm -r ; (this command will delete a folder recursively, including all sub-folders in it so be careful when using this command). Same way to delete a file, use the command; rm ; you can use -f to force delete the file if it prompts you before delete action.
@ZiaKhan-fj8wn
@ZiaKhan-fj8wn 2 жыл бұрын
Buddy Some time I face an issue during login of Linux I am stuck in the Linux login loop and other ever I try to install something. Linux how me a message like this you ""don't have enough free space in var/cache/archives............."" Do You have a solution for this Kindly make a video on it? how I can increase my Linux space.
@kehindedabiri422
@kehindedabiri422 2 жыл бұрын
i am having low disk space on 'filesystem root" on my NVR , but dont know how to go about it, any help?. The vendor has stopped supporting me, and i dont have linux knowledge
@virtualitlearning1475
@virtualitlearning1475 2 жыл бұрын
If you want to display the total usage information of a mount point then you can use the below command. $ df . -h If you want to display a list of all amounts with their allocated and used space then use the below command. $ df -h If you want to list all files/directories with their space consumption then use the below command: $ du -shc * (or du -shc * | sort -nr) -- this is very useful when you are facing space issues and need to determine as which file(s) are taking up the space and make space available accordingly.
@Catge
@Catge 2 жыл бұрын
How would you list the amount of disk on a linux system?
@virtualitlearning1475
@virtualitlearning1475 2 жыл бұрын
If you want to display the total usage information of a mount point then you can use the below command. $ df . -h If you want to display a list of all amounts with their allocated and used space then use the below command. $ df -h If you want to list all files/directories with their space consumption then use the below command: $ du -shc * (or du -shc * | sort -nr) -- this is very useful when you are facing space issues and need to determine as which file(s) are taking up the space and make space available accordingly.
@positiveprogrammer2918
@positiveprogrammer2918 2 жыл бұрын
anthor walk through from scratch to clean up space 9:09
@anasakura5660
@anasakura5660 3 жыл бұрын
How about the historical data?
@virtualitlearning1475
@virtualitlearning1475 2 жыл бұрын
Hello, the command below will return all files / folders with their consumption: du -shc * | sort -nr (you can also add | grep G at the end to list only the folders with GB’s in size)
@superg-reezy943
@superg-reezy943 2 жыл бұрын
why does look like rocket science? no offense you know what your doing but its just really hard to figure this out.
@amitdubey986
@amitdubey986 2 жыл бұрын
You need to try doing it to figure out this is not rocket science. The author here tried to make it as simple as it could be. You need to put little effort to understand this.
@sotecluxan4221
@sotecluxan4221 2 жыл бұрын
@@amitdubey986 Requires reading, many cannot do this properly, nowadays. Everything spoonfed, even then.....
@TanmoyDas-pn1nd
@TanmoyDas-pn1nd 2 жыл бұрын
How do I clear my sda1 folder? Kindly help me. [root@centos-4gb-nbg1-3 log]# df . -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 38G 37G 0 100% /
@virtualitlearning1475
@virtualitlearning1475 2 жыл бұрын
Hello, Please try the below steps: 1) Go to the directory /sda1 2) Run the below command to determine which file or folder is taking up the space: $ du -shc * (you can add | more at the end if listing is too long to fit on one page and then scroll through. Then delete the unwanted files) OR 3)$ find . -size +10M -type f -exec ls -ltrh {} \; This command will return files with size higher than 10M (you can change any value here) then delete the unwanted files. Thanks.
Linux df and du Commands | How to Check Linux Disk Space Usage
19:08
Akamai Developer
Рет қаралды 13 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Moving and Copying Files and Directories in Linux
7:31
Jason Wertz
Рет қаралды 397 М.
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,3 МЛН
Filtering .log files, with cat, grep, cut, sort, and uniq
15:36
How to Check Linux Disk Space Usage Using DF And DU Commands
8:09
Virtual IT Learning
Рет қаралды 17 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,3 МЛН
014 - How To Cleanup Ubuntu Linux And Free Up Disk Space
19:06
CommandLine
Рет қаралды 41 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН