Results 1 to 3 of 3
hi,
1.
i av linux O.S on my pc at home please how do i go about copying a file from my root home desktop and pasting it in my ...
- 08-28-2008 #1Just Joined!
- Join Date
- Aug 2008
- Posts
- 1
copy command
hi,
1.
i av linux O.S on my pc at home please how do i go about copying a file from my root home desktop and pasting it in my user account(desktop)..
(note both root and user are on the same comp) what commands do i use. i had tried using the cp command but didn't succeed.
2.
which command do i use to transfer a file from one user to another user on different computers but on a network.
- 08-28-2008 #2
Have you tried to login as root user or executed su command to gain root privileges?
I would suggest you to check linuxcommand.org.Code:su cd /home/root/Desktop cp filename /home/user_name/Desktop
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 08-28-2008 #3
In most distros, /root is root's home directory, so:
is probably what you're looking for.Code:su - cp /root/Desktop/file /home/user/Desktop
There are a few options for this including rsync and scp.2.
which command do i use to transfer a file from one user to another user on different computers but on a network.


Reply With Quote