1

Login to super user for running script

view story
linux-howto

http://unix.stackexchange.com – I have sample.sh script in /u01/dump location. I'm running it from root. My requirement is while running the sample.sh script it has to be login as oracle1 user using SU (super user) and display all files in /u02/dba/ directory. (HowTos)