Thread: OT: Linux
View Single Post
  #52  
Old August 26th, 2004, 05:49 AM

guybrush threepwood guybrush threepwood is offline
Corporal
 
Join Date: Mar 2004
Location: Copenhagen, Denmark
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
guybrush threepwood is on a distinguished road
Default Re: OT: Linux

"overriding" files in a linux command line is done by either copying or moving the source file to the target file.

So either

1)

Code:
mv /home/lukeskywalker/myfile /whereeveryouwantthefile/myfile



or

2)

Code:
cp /home/lukeskywalker/myfile /whereeveryouwantthefile/myfile



Option 1 would remove the source file whereas 2 would keep it.


EDIT: Looks like Esben beat me to it - and yes Esbens Version is probably the easiest in this particular situation.
Reply With Quote