What is the primary purpose of the df command in Linux?
- Display disk space usage
- List all files in a directory
- Execute a shell script
- Calculate file checksums
The primary purpose of the df command is to display disk space usage on a Linux system. It provides information about the disk space used and available on various mounted filesystems. This command is useful for monitoring disk space to prevent overflows.
Loading...
Related Quiz
- Which directory would you inspect to view logs generated by system processes?
- What is the primary keyword to start a loop that will iterate a fixed number of times in shell scripting?
- To monitor I/O statistics and disk activity in real-time, you would use the ________ command in Linux.
- Which system in Linux allows for the management and supervision of service daemons?
- You are writing a Bash script to automate server maintenance. You want to check if a directory exists before trying to create it. Which command would you use within your script to check for the directory's existence?