next up previous contents
Next: Copying files Up: Files and the File Previous: Finding files (find, locate)   Contents

Moving files (mv)

You can move a file to another file (i.e. rename it) by using the command mv. A word of caution: mv wipes out whatever was in the target file if it already exists (therefore many users ``alias'' mv to ``mv -i'' which will cause move to ask for permission to overwrite the existing file). The format is: mv originalfile newfile



h.stilmack@jach.hawaii.edu