Education Adda is the blog for students. Those who are prepairing for Goverment Exams like MPSC, UPSC and other exams. Here studens will get study material and exam updates.

Breaking

Thursday, July 1, 2021

How to Rename file in Linux

How to Rename file in Linux



Note: Linux file system is case sensitive there is difference between letter "a" and "A" so alwasy remember that the command you are using must be accurate. Upper case and lower case of single charachter makes a lot diffence in commands.

Here i will show you how to remain files in Linux. 
Here are some steps to follow to Remain files in Linux. To Rename file in Linux Command used is Linux. 
The syntax for mv command is just like follows

mv source destination

where -

mv: Linux Command move
source: Source of file to move
destination: destination where you want to move file

For example if you want to move file named Linux.txt  to directory /root/pravin
then type mv Linux.txt /root/pravin

Now how to remove file in Linux using mv command

To rename the file you have to move the file on destination with different that want to rename.
For example move file /root/Linux.txt  To /root/Linux1.txt 
here the Linux1.txt is renamed file.

syntax

mv /root/Linux.txt  /root/Linux1.txt

No comments:

Post a Comment

Talathi Bharti 2022 online form Date - तलाठी भरती 2022 Form Date

Talathi Bharti 2022 online form Date - तलाठी भरती 2022 Form Date   Talathi Bharti 2022 online form Date   महाराष्ट्रामध्ये मुंबई व उपनगर वगळ...

Adbox