What is the purpose of the -v option in mkdir command?

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

Example:

If you run the command:

mkdir -v new_directory

The output will be:

mkdir: created directory 'new_directory'

This option is useful for confirming that directories have been successfully created, especially when creating multiple directories at once. If you have more questions or need further clarification, feel free to ask!

0 Comments

no data
Be the first to share your comment!