So you have forgotten or are just a newbee looking for how to rename a file in linux, these two tricks are for you:
- Using mv command: yourdir$ mv oldname newname
- Using copy and delete:
- copy old file to new file with cp command: yourdir$ cp oldname newname
- delete old file with rm command: yourdir$ rm odname
No comments:
Post a Comment