Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Is this command serve the purpose of renaming within the Unix/Linux forums, part of the Operating Systems category; Is it possible to rename files or directories using mv command in Linux. I know that mv command is used for moving files or directories around the file system. But ...
|
|||||||
|
|||
|
Is this command serve the purpose of renaming
Is it possible to rename files or directories using mv command in Linux. I know that mv command is used for moving files or directories around the file system. But what about renaming. Can we use this command for this purpose
|
| Sponsored Links |
|
|||
|
Re: Is this command serve the purpose of renaming
Actually mv command is called as rename command and is used for renaming files or directories.
The general syntax of this command is #mv geek1 geek2 The above renames file geek1 to geek2. mv command is used not only to rename files. It is also used to rename directories. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|