I want to automate something writing simple script launching consecutively few scripts one after another. And then setting some aliases at the top shell.
Problem: few of these commands launch new shell. And all commands after that one are launched in previous shell. Is there anyway to queue these commands coming after that one in "top" shell?
#!/usr/bin/ksh #normally this ksh is executed deep inside other script i cannot modify ksh echo test
Is there any way to print "test" on shell just started by ksh command? Normally test is printed in previous shell - becomes available after "exit" command Thanks for any help.