What is mv command used for in Linux?
Experience Level: Junior
Tags: Linux
Answer
The mv command stands for move. It is used to move one or more files or directories from one place to another in a file system. It has two distinct functions: 1) It renames a file or folder. 2) It moves a group of files to a different directory.
Related Linux job interview questions
What is rmdir command used for in Linux?
Linux JuniorWhat is mkdir command used for in Linux?
Linux JuniorWhat is cp command used for in Linux?
Linux JuniorWhat is cat command used for in Linux?
Linux JuniorWhat is ls command used for in Linux?
Linux Junior