If there is a file called file1.txt which we want to rename to file2.txt, enter the following: mv file1.txt file2.txt Note that the following only works if you are in the same directory as the file: mv oldnamefile1 newnamefile1 To rename a file, use the following mv command syntax. Rename File on Linux Using the mv Command
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |