Is it possible to transfer data directly from one user to another user's desktop?

Steven Vollom stevenvollom at sbcglobal.net
Tue Feb 3 18:22:15 UTC 2009


> So you want to copy the file /home/user1/some_document to the home
> directory of user2. You can do it in a terminal with these commands:
>
> sudo cp -i /home/user1/some_document /home/user2
> sudo chown user2 /home/user2/some_document
>
> Note: I used the "-i" option for the cp command because the you will be
> asked if you want to overwrite the file in /home/user2 if it exists
> already.
I know this is going to sound a bit foolish, but not for me.  Can I use the 
words 'user1' and 'user2' in the command?  It is easier than one of my user 
names.  Thanks!

Steven





More information about the kubuntu-users mailing list