Posted By

remilauber on 04/28/09


Tagged

Bash screen


Versions (?)

ScreenSend


 / Published in: Bash
 

  1. #!/bin/bash
  2. #
  3. # Utilisation :
  4. #
  5. # ./screensend screenname command and args
  6. #
  7.  
  8. if [ -n $1 ] && [ -n $2 ]; then
  9. name=$1
  10. shift
  11. screen -S $name -X eval "stuff '$*'""\015"
  12. fi

Report this snippet  

You need to login to post a comment.