What are the different commands available to check disk usage?
Df command | It shows the amount of disk space used and available on the Linux file system. |
Du command | It shows the amount of disk space used by the specified files and for each and every subdirectory. |
Btrfs fi df/device/ | That shows disk space usage information for a btrfs based mount point/file system. |
NOTE: All the sample Shell scripting interview questions are essential for preparation for the shell scripting interview. From these sample questions, you can easily face it.
BY Best Interview Question ON 23 Dec 2022