//为什么 rename 不行
mv command renames the file named by the source operand to the destination path named by the target operand. mv command syntax:
Code:
mv {old-file-name {new-file-name} mv {old-dir-name} {new-dir-name}
Rename a file tom.txt to jerry.txt, type:
Code:
mv tom.txt jerry.txt
Rename a directory lgitech to logitech, enter:
Code:
mv lgitech logitech