-1

In Linux shell script I have to run few commands under another user but I am enable to. Please advice some suggestions.

$ jumpto -T -u ...

after this command it enters in another terminal and I want to execute commands in that terminal through script please help

1
  • What is jumpto ? Are you trying to run things as another user or in another terminal ? Jul 22, 2014 at 9:52

1 Answer 1

0

xterm -e "bash -c \"./script.sh; exec bash\"" &

where ./script.sh can be just a command.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .