Frequently used tools on Linux
- screen
Frequently used command
1 2
screen -S session_name # Create a new session screen -r session_name # return to an existing session
Create multiple terminal session and detach from it after executing a command.
1 2 3 4
#!/bin/bash for i in {10..68..2}, do screen -d -m -S "$i" bash -c "cd contourbin_$i;./run.sh;exec sh" Done
Another similar tool is
tmux
. - Gnuplot