The file renaming command under Linux is mv. The mv command is used to rename a file or directory or move a file from one directory to another. For example, [$ mv test.txt wbk.txt] means to rename the file test to webk.
The operating environment of this article: red hat enterprise linux 6.1 system, thinkpad t480 computer.
(Learning video sharing: linux video tutorial)
Detailed introduction:
linux The command to rename a file is the mv command
## The #mv command is used to rename files or directories or move files from one directory to another. This command is equivalent to the combination of the ren and move commands under DOS systems. Its usage rights are for all users. Format:mv [options] 源文件或目录 目标文件或目录
$ mv test.txt wbk.txt
The above is the detailed content of What is the file renaming command in linux. For more information, please follow other related articles on the PHP Chinese website!