background
|
|
News
All in one Place
All of your regular news in one place.
More icon

Computer
|
|
Up Image
Navigation
Search this Site
Enter your search terms

Site Breadcrumb - You are here
|
Reference   Unix Guide

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.