the cp command
I have a folder named hi on my desktop
and i have a text file named howdy.rtf on my desktop i am typing the command cp howdy.rtf /home/username/Desktop/hi where username is my username and it wont copy. What gives? |
What error message does it give you?
I assume that the file exists in the directory where you are issuing that command. Are the permissions set correctly for the destination directory? Can you make a local copy where the file is? |
what is the output of
Code:
pwd |
The directory exists and I don't need my root password to get in to the file and copy anything if i just copy and paste. It does not output and error which is what is confusing me even more. I am unsure of what step to take next.
|
actually, it is now saying that no such file or directory exists?
|
does the error look like this
Code:
cp: cannot stat `howdy.rtf': No such file or directory this command works fine for me Code:
~$ cp Desktop/howdy.rtf /home/mobin/Desktop/hi/ |
I did not realize that you needed the / after the hi, thanks a lot!! :)
|
then better mark the forum as solved:)
|
how? or do I just say
SOLVED!!!!!!!!!!! |
no..under thread tools u may find that.
|
Quote:
|
All times are GMT -5. The time now is 04:31 PM. |