Get the A+ 4 Real e-book for your own computer.
Click Here!

Custom Search







Table Of Contents  CertiGuide to A+ (A+ 4 Real)
 9  Chapter 5: The Linux Operating System
      9  Basic Concepts and Procedures for Creating, Viewing and Editing Files and Directories
           9  Common Commands

Previous Topic/Section
cp - Copy Files or Directories
Previous Page
Pages in Current Topic/Section
1
Next Page
rm - Remove Files Or Directories
Next Topic/Section

mv - Move (rename) Files

The mv command is similar to the ren (rename) command in Windows or DOS. This command will change the name of a file and is of the form:

mv [option] source destination

The source can be either an absolute (complete) file name or a relative (partial) file name. Conceptually if the source and destination are within a current working directory this command merely renames the file. If source and destination are different directories, the file is moved (renamed) to the new location. Again notice that the -i option is very useful, if the destination file name exists before the move command is executed, move will destroy what ever was in the pre-existing destination file. When using -i option, the prompt will only occur if the destination file exists and asks for confirmation.


Previous Topic/Section
cp - Copy Files or Directories
Previous Page
Pages in Current Topic/Section
1
Next Page
rm - Remove Files Or Directories
Next Topic/Section

If you find CertiGuide.com useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider buying an inexpensive PDF equivalent of the CertiGuide to A+ (A+ 4 Real) from StudyExam4Less.com. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com
Version 1.0 - Version Date: March 29, 2005

Adapted with permission from a work created by Tcat Houser et al.
CertiGuide.com Version Copyright 2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.