[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] [ANNC] ALE CENTRAL for Thursday, May 21, 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
- References:
- [ale] [ANNC] ALE CENTRAL for Thursday, May 21, 2009
- From: aaron at pd.org (aaron)
- [ale] [ANNC] ALE CENTRAL for Thursday, May 21, 2009
- From: nolan.voight at gmail.com (Grady Harris)
- [ale] [ANNC] ALE CENTRAL for Thursday, May 21, 2009
- From: aaron at pd.org (aaron)
- [ale] [ANNC] ALE CENTRAL for Thursday, May 21, 2009
- From: jim.kinney at gmail.com (Jim Kinney)
- [ale] [ANNC] ALE CENTRAL for Thursday, May 21, 2009
- From: Richard at Bronosky.com (Richard Bronosky)