What are common `mv` command options?

QuestionsQuestions8 SkillsProBasic Files OperationsOct, 31 2025
081

Here are some common options for the mv command:

  1. -f: Force move without prompting for confirmation, even if it overwrites an existing file.
  2. -i: Interactive mode; prompts for confirmation before overwriting an existing file.
  3. -n: Do not overwrite an existing file; if the destination file exists, the move will not occur.
  4. -v: Verbose mode; provides detailed output of what the command is doing.

These options can help you customize the behavior of the mv command based on your needs.

0 Comments

no data
Be the first to share your comment!