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