Rename file in linux

Rename file in linux

In this post i am going to explain you how to rename file in linux. As a linux administrator   you should aware of basic concepts to rename a file in linux.

Rename file in Linux

Step 1: Create a empty file

#touch  rajkumar
#ls -l rajkumar

Step 2: Check is their any file with name test

#ls -l test

Step 3: Rename the file rajkumar to test

#mv rajkumar test

Step 4: Verify the renamed file

#ls -l test

 

Rename a file in linux




Leave a Reply

Your email address will not be published. Required fields are marked *