I'm looking for the equivalent of right clicking on the drive in windows and seeing the disk space used and remaining info.
相关问题
- Why should we check WIFEXITED after wait in order
- UNIX Bash - Removing double quotes from specific s
- bash delete line condition
- Trying to make a permanent Alias - UNIX
- Generating signed XPI via jpm failed
相关文章
- Making new files automatically executable?
- Reverse four length of letters with sed in unix
- Generate disk usage graphs/charts with CLI only to
- Extracting columns from text file using Perl one-l
- Problem with piping commands in C
- Makefile and use of $$
- Convert ls output into csv
- Unix FIFO in go?
I love doing
du -sh * | sort -nr | less
to sort by the largest files firstAll these answers are superficially correct. However, the proper answer is
because asking questions the answers of which lay at your fingertips in the manual wastes everybody's time.
Option g for Size in GBs Block and . for current working directory.
su -sm ./*
You can see every file and folder size (-sm=Mb ; -sk=Kb) in the current directory like a list. This way runs in all Unix/Linux environment.
Use the df command:
df -h
for Disk Free size in 1024 byte blocks