What command is used to rename a file in a Linux system?

IT Exam Items RepositoryCategory: DevNetWhat command is used to rename a file in a Linux system?

What command is used to rename a file in a Linux system?

  • mv
  • dd
  • cp
  • rm

Explanation: The mv Linux command can be used to move a file to another directory or rename a file. The cp command is used to make a copy of files or directories. The dd command is also used to make a copy of a file. The rm command is used to delete a file.

Related exam: 1.2.3 Quiz - Linux Review