Skip to content

Instantly share code, notes, and snippets.

@lutzky
Created November 4, 2008 19:26
Show Gist options
  • Save lutzky/22189 to your computer and use it in GitHub Desktop.
Save lutzky/22189 to your computer and use it in GitHub Desktop.
#!/bin/bash
# A simple script to make sure I am running rtorrent in a screen
if ! ps -o uname -C rtorrent | grep -q `whoami`; then
screen -d -m rtorrent
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment