The _________ utility is used to create, grow, shrink, and repair ext2, ext3, and ext4 file systems.
- resize2fs
- mkfs
- df
- lsblk
The correct option is resize2fs. The resize2fs utility is used to resize (grow or shrink) ext2, ext3, and ext4 file systems. It allows you to adjust the size of the file system to match the size of the underlying disk or partition. This is a crucial tool for managing file system sizes in Linux.
Loading...
Related Quiz
- Which command can be used in a shell script to introduce a delay, often used for debugging or to pause the execution?
- You've been given a task to find all occurrences of the word "error" in a directory containing numerous log files. Which command would you primarily use for this search?
- In a shell script, if you want a loop to execute infinitely, which of the following would be the most appropriate construct?
- Which command allows you to change directories in the terminal?
- You're debugging a script and notice that an operation splits a string incorrectly. You suspect it might be related to the field separator. Which built-in variable should you check?