New answers tagged

0

You could create a script like this: #!/bin/bash cd /home/sniper screen -S NameOfScreen -d -m 'php -f sniper.php > results.html' You would need to execute the script yourself the desired amount of times with bash script


0

The answer probably lies with the "nohup" command. Or you can simply add an ampersand (&) at the end of your command to send it to the background and maintain control of the CLI if your script takes a long time. which is why I guess you want to use Screen? Ampersands on the command line


0

tmux ls will list running sessions If you're using this inside a .shrc file or similar with exec I'd recommend if tmux ls exec tmux attach else exec tmux fi



Top 50 recent answers are included