I have enjoyed reading the discussion on various aliases, as below. Some years ago working at Raytheon, there was an old guy, a Unix Weenie, whiskers, suspenders, plaid shirt and all., who had an "alias file" of many, many entries (which I have lost). Anyone else want to offer some neat, tricky, crafty additions for an (Linux) alias file ?
paulc > If you want to find out where a command comes from, you can use bash's > command "type": > > vanzandt:~ $ type -a ls > ls is aliased to `ls --color=auto' > ls is /bin/ls > > #!/bin/sh > if [ $# = 1 ] && [ -d $1 ] ; then > (cd $1; /bin/ls --color=tty -F -T 0 -ldt -- $(ls -t|head)) > elif [ $# = 0 ] ; then > /bin/ls --color=tty -F -T 0 -ldt -- $(ls -t -- $* | head) > else > /bin/ls --color=tty -F -T 0 -ldt -- $(ls -dt -- $* | head) > fi > ***************************************************************** To unsubscribe from this list, send mail to [EMAIL PROTECTED] with the text 'unsubscribe gnhlug' in the message body. *****************************************************************