Skip to content

Instantly share code, notes, and snippets.

@bmarini
Created May 5, 2011 22:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmarini/958074 to your computer and use it in GitHub Desktop.
Save bmarini/958074 to your computer and use it in GitHub Desktop.
Bash one liners
# Start a job from an SSH session that will continue to run after logging out
nohup ./myprogram > foo.out 2> foo.err < /dev/null &
# Clear memcached
echo flush_all | nc localhost 11211
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment