Multiple commands with exec!
What I want is to be able to run "exec /bin/bash --login +h" and then annother command inside the new shell. I tried "exec /bin/bash --login +h && command", but that ran command after exiting the shell. From a programmers perspective, this is what I have happening:
(exec /bin/bash --login +h) && (command)
What I want is:
exec (/bin/bash --login +h && command)
Please don't ask me why or say "what a stupid thing to do." It's what I want, and what I need. Thank-you.
|