Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: Is it possible for me to su to different user from within a script, execute few commands in the new shell and stay in the same shell...? For Ex: #!/bin/sh sudo su - user1 echo #HOME echo `ls -ltr` This should print the home directory of user1, print the files … |
The End.