Which command do you use to rename files and directories?

Which command do you use to rename files and directories?
Answer
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.
 

Tìm kiếm

Back
Top