MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

UNIX

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
mv command is used to move files and directories.
A
True
B
False
C
Can’t determined
D
None
Explanation: 

Detailed explanation-1: -Use the mv command to move files and directories from one directory to another or to rename a file or directory. If you move a file or directory to a new directory without specifying a new name, it retains its original name. Attention: The mv command can overwrite many existing files unless you specify the-i flag.

Detailed explanation-2: -Using mv Command The mv command is used to move files and directories from one place to another. We can also use it to rename files and directories. This will move all the files from /path/subfolder to /path/ except for hidden files and directories.

Detailed explanation-3: -The mv command moves files and directories from one directory to another or renames a file or directory.

There is 1 question to complete.