D'oh! moments
dsr at tao.merseine.nu
dsr at tao.merseine.nu
Wed May 14 22:27:24 EDT 2003
On Wed, May 14, 2003 at 06:58:05PM -0400, Duane Morin wrote:
> Today I did that from a terminal window and found myself saying
> "Why is it taking so long?" before realizing that i had accidentally
> done it in a window where I was ssh'd in to the server. That smarts.
Preventative measure: when I do something routinely like that, I alias
it to a mnemonic... only on the machines where it's a good idea to do
it.
So:
alias gohome="sudo ifconfig eth0 down"
server$ gohome
bash: gohome: command not found
-dsr-
--
Network engineer / pre-sales engineer available in the Boston area.
http://tao.merseine.nu/~dsr
More information about the Discuss
mailing list