Adds disk space commands to linux.

This commit is contained in:
Mustafa İlhan 2019-01-12 21:36:17 +03:00
parent 79f35133f0
commit d184261ab0
1 changed files with 16 additions and 0 deletions

View File

@ -11,3 +11,19 @@ title: Linux
sudo visudo
username ALL=(ALL) NOPASSWD:/sbin/restart whatever
### Display the amount of available disk space
$ df
All File System:
$ df -a
Human Readable Format:
$ df -h
Largest 10 folder/file in the current directory:
$ du -hsx * | sort -rh | head -10