next up previous

1.5.7 mv

Move a file or subdirectory from one directory to another, or change the name of the file or directory.

mv file1.f junk
moves file1.f from your current working directory to a junk directory if the junk directory exists. Otherwise, file1.f is renamed junk under the current directory.
mv file1.f matmult.f
renames the file file1.f as matmult.f in your current working directory.
mv jicslabs oldlabs
moves your jicslabs directory to be a subdirectory of the directory oldlabs if that directory exists. Otherwise, the jicslabs directory is renamed oldlabs.