You can use the mv command in Linux to rename files or directories.
Command format:
mv 源文件名 目标文件名
means changing the source file name to the target file name.
Example:
Rename the file aaa to bbb.
mv aaa bbb
Recommended tutorial:linux tutorial
The above is the detailed content of How to rename files in linux. For more information, please follow other related articles on the PHP Chinese website!