mv
mv moves files and directories. It can also be used to rename files or directories.
Structure: mv [options] sources target
If you wanted to rename ally_sheedy.html to molly_ringwald.html, you would do this:
mv ally_sheedy.html molly_ringwald.html
After typing this command, ally_sheedy.html would no longer exist, but a file called molly_ringwald.html would now exist with the same contents.
Back to the index.