What does the -v option do in the mkdir command?

The -v option in the mkdir command stands for "verbose." When you use this option, mkdir provides feedback for each directory that is created, confirming the action.

Example:

If you run the command:

mkdir -v new_directory

The output will be:

mkdir: created directory 'new_directory'

Purpose:

This feedback is helpful for confirming that the directory has been successfully created, especially when creating multiple directories at once. If you have any further questions or need more examples, feel free to ask!

0 Comments

no data
Be the first to share your comment!