Knowledgebase
How to move or copy a file in BSD.
Posted by Mike C. on 11 September 2009 11:59 PM
|
|
First you need to find the file you would like to move and the location you would like it to move to. You will type the following: mv FILEYOUWANTMOVED LOCATIONYOUWANTITMOVEDTO So to play out the example lets mv httpd.conf to /etc. # mv /usr/local/etc/apache22/httpd.conf /etc/ If you wanted to copy it (keeping the original in place) you would type: # cp /usr/local/etc/apache22/httpd.conf /etc/ | |
|
Comments (0)