From: Stephen Shirley (diamond at domain skynet.ie)
Date: Tue 04 Jun 2002 - 17:04:12 IST
On Tue, Jun 04, 2002 at 03:55:30PM +0100, Liam Bedford wrote:
> alias claims nothing to do with ps, I can't figure out how to get functions
> listed, but I don't make any, and I don't think debian do either.
'type' is your friend:
diamond at domain skynet:~(0)> type ls
ls is aliased to `ls -F --color=auto'
diamond at domain skynet:~(0)> type check
check is a function
check ()
{
ps f -f -u ${1:-$LOGNAME}
}
diamond at domain skynet:~(0)> type ps
ps is /bin/ps
diamond at domain skynet:~(0)>
etc etc. It's pretty neat.
Steve
-- "Oh look, it's the Pigeon of Love."
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:05 GMT