How do you rename a file in Unix?

How do you rename a file in Unix?
Answer
Renaming files with “mv” Command. A simple way to rename files and folders is with the mv command (shortened from “move”). Its primary purpose is moving files and folders, but it can also rename them, since the act of renaming a file is interpreted by the filesystem as moving it from one name to another.
 

Tìm kiếm

Back
Top