This is a discussion on How to rename a file in Linux within the Linux software forums, part of the Linux Getting Started category; mv command renames the file named by the source operand to the destination path named by the target operand. mv ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
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}
Code:
mv tom.txt jerry.txt Code:
mv lgitech logitech
__________________
Raj Linux rulz. I have never turned back in my life ; I shall not do so today.. haha |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| script to automate download and rename | wademac | Shell scripting | 0 | 04-15-2008 12:51 AM |
| Open file in linux | amsreeku | Linux software | 1 | 03-24-2008 07:41 PM |
| how to rename eth0 to eth1 | deltamails | Networking, Firewalls and Security | 1 | 09-24-2007 08:53 PM |
| Script file to be run when linux boot | adhikari.rohit | Shell scripting | 7 | 05-22-2007 08:59 PM |
| How can I rename a file by its date? | warren | Linux software | 5 | 03-30-2006 01:11 PM |