I wanted to integrate a small shell command with perl. My main intension is to connect to remote system using ssh protocol by a normal user and switch to a previlaged user and execute commands. My shell command is :
Can you suggest me how can I embed this part of code in my perl script.[impact@station116 root]$ su netcool -c whoami Password: netcool [impact@station116 root]$
Thanks in advance,
Srinivas.
In reply to Integrating shell and perl by srinivas_rocks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |