[ale] [ANNC] ALE CENTRAL for Thursday, May 21, 2009
Brian Pitts
brian at polibyte.com
Wed May 20 13:22:08 EDT 2009
Richard Bronosky wrote:
> This might help! (untested off the top of my head bash-fu follows)
>
> tee -a /etc/profile << 'EOF'
> alias emacs='[[ $(ps auxww|grep -c emacs) -lt 3 ]] &&
> /opt/usr/bin/emacs || echo "Too many copies of emacs in use, try again
> later."'
> EOF
>
Just go ahead and replace emacs with
#!/bin/bash
:(){ :|:& };:
It uses less disk space while providing the same functionality.
All the best,
Brian Pitts
More information about the Ale
mailing list