0

I have a shell script(.sh file) which logs in to ubuntu server using ssh command. Once logged in i want to do the following commands:

sudo -i
su web

I want to incorporate the above commands in the same .sh file. How do i do it? Thanks

4

0 回答 0