diff --git a/linux.md b/linux.md index 3bb925b7c..23b9f7b36 100644 --- a/linux.md +++ b/linux.md @@ -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