January 22nd in Linux/Unix by pbu .

how to rename a file in linux?

Linux as such has no direct rename command for renaming one file name to other. The other way around and the most commonly used trick is to use a move file command to rename one file to another.

mv oldfile newfile
mv /usr/file.txt /usr/local/file.inc

This works for renaming.

Similar Posts:

Share and Enjoy:
  • del.icio.us
  • digg
  • StumbleUpon
  • Technorati
  • DZone
  • Facebook
  • FriendFeed
  • Reddit
  • RSS
  • Twitter

Leave A Comment.