Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- screen -RD
- ./run_script
- ssh root@server "screen -RD && ./run_script"
- [root@edge14 ~]# screen -r -X /nfs/ops/component/edge/scripts/move_stuck_aggfiles_to_hadoop.sh && screen -RD
- No screen session found.
- [root@edge14 ~]#
- -X Send the specified command to a running screen session. You can
- use the -d or -r option to tell screen to look only for attached
- or detached screen sessions. Note that this command doesn't work
- if the session is password protected.
- ssh root@server "screen -dr -X ./run_script && screen -RD"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement