I need to create a bash script that would open a new screen session, then run a program in tha session. Is it possible to do that? Any help appreciated.
screen -dmS sessionname mycommand
Which, by the way, is listed in screen --help.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago