행복한 길

리눅스 상에서 파일명 변경(command)

open source/linux

리눅스 상에서 파일명 변경(command)

vhrms 2013. 6. 14. 22:21
반응형

리눅스에서 파일명은 변경하는 커멘드 명령어는 아래와 같습니다.


How to rename a file in Linux

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


출처 : http://nixcraft.com/linux-software/11780-how-rename-file-linux.html