Question #476
Submitted by Answiki
on 05/19/2021 at 08:42:05 PM UTC
On Linux, how to know free space on disk in command line?
Merged questions
Answer
Submitted by Answiki
on 05/19/2021 at 08:49:17 PM UTC
The df command is designed to check disk space on Linux:
df -h /
- the
dfcommand stands for disk free. -
-hoption is for human readable (print sizes in powers of 1024) -
/displays the usage of your primary hard drive. It can be omitted or replaced by another file system (/dev/sda2 for example).
Answer by Answiki on 05/19/2021 at 08:49:17 PM
The df command is designed to check disk space on Linux:
df -h /
- the
dfcommand stands for disk free. -
-hoption is for human readable (print sizes in powers of 1024) -
/displays the usage of your primary hard drive. It can be omitted or replaced by another file system (/dev/sda2 for example).
Question by Answiki 05/19/2021 at 08:42:05 PM
On Linux, how to know free space on disk in command line?
| # | ID | Query | URL | Count |
|---|---|---|---|---|
| 0 | 13441 | alphons | https://en.ans.wiki/476/on-linux-how-to-know-free-space-on-disk-in-command-line | 1 |
| 1 | 12199 | en | https://en.ans.wiki/476/on-linux-how-to-know-free-space-on-disk-in-command-line | 4 |
Icons proudly provided by Friconix.