11 I have the logins and passwords for two linux users (not root), for example user1 and user2. How to copy files from /home/user1/folder1 to /home/user2/folder2, using one single shell script (one single script launching, without manually switching of users). I think I must use a sudo command but didn’t found how exactly.



