Mv
/skill level/
/viewed/
0 Times
The mv command moves files or directories from one place to another.
Structure:
mv [options] file1 file2 mv [options] files directory
If you wanted to move the file gorilla.html into the directory called apes, here's what you would do:
mv gorilla.html /webmonkey/apes/
mv can also be used to rename files. Let's say you want to rename gorilla.html to orangatan.html, here's what it would look like:
mv gorilla.html orangatan.html
Back to Unix Guide
- This page was last modified 01:21, 16 May 2008.