Linux System Administration
Basic Commands
mv (MoVe)
This is the "rename" command used in DOS.
This command moves one filename into another filename.
mv filename1 filename2
The above command automatically writes over filename2 with whatever was in filename1
mv -i filename1 filename2
The above command will inquire if you really want to move the file.
You can also move directories with this command,
mv dir_name1 dir_name2
Prev
Page 5
Next