Results 1 to 8 of 8
I saved some files into a folder in /home
I tried using the konqueror to copy it and paste it into the /usr/local/src but it showed "Access Denied to /usr/local/src ...
- 10-15-2004 #1Just Joined!
- Join Date
- Sep 2004
- Posts
- 5
how to copy a folder into /usr/local/src ?
I saved some files into a folder in /home
I tried using the konqueror to copy it and paste it into the /usr/local/src but it showed "Access Denied to /usr/local/src "
What should i do ?
Sorry , i'm a newbie here...
What's the command to copy a file or folder ?
Thank you...
- 10-15-2004 #2Linux Newbie
- Join Date
- Oct 2004
- Location
- Manchester, England
- Posts
- 165
try copying as root in a terminal, only root has write access to that location
Code:su - password cp /home/some.file.gz /usr/local/src/
- 10-15-2004 #3Just Joined!
- Join Date
- Sep 2004
- Posts
- 5
Thank you very much !
I can only copy file ? How to copy the whole folder ?
- 10-15-2004 #4
You could run (as root):
cp -R /path/to/folder/to/copy/from /target/folder
-R includes subdirs in the copying.Regards Scienitca (registered user #335819 - http://counter.li.org )
--
A master is nothing more than a student who knows something of which he can teach to other students.
- 10-15-2004 #5Just Joined!
- Join Date
- Sep 2004
- Posts
- 5
thank you.
one more question , what's the command to delete a file or folder ?
- 10-15-2004 #6Linux Newbie
- Join Date
- Oct 2004
- Location
- Manchester, England
- Posts
- 165
rm file
rm -R * will remove all and dirs
man rm
man cp
man mv
for info
- 02-26-2007 #7Just Joined!
- Join Date
- Jan 2007
- Posts
- 4
thanx a lot dude,
this info helped me a lot
- 11-21-2008 #8Just Joined!
- Join Date
- Nov 2008
- Posts
- 1
thnx
thnx very much



