1

Run script

view story
linux-howto

http://www.unix.com – I have a file that the format is as below , abc.xxx.yyy.zzz while yyy is login ID . And I have a script called script1 is as below Code: if ... then   echo "user id" else   ... fi Now , I would like to have a script that can do su user to yyy first , similiar as below Code: if .... then     su - yyy echo "user id" else     .... fi Can advise what can I do ? thanks (HowTos)