James R. Van Zandt wrote>
>
> Michael Bovee <[EMAIL PROTECTED]> writes:
> >I discovered that under SuSE 7.1 for PPC,
> >that if I type ll <el, el>
> >the output looks the same as if I had typed ls -l, but there is no
> >man page for 'el el'?
>
> 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
>
> It lists the most recent ten of the named files, or the files in the
> (one) named directory, or the files in the current directory. It's
> one of the first programs I install when I get an account on a new
> machine.
Or if you want to keep things simple (I'm a zsh user):
alias ll='ls -l'
alias la='ls -a'
alias ls='ls --color=always'
These lines will go into your ~/.zshrc file
(or maybe ~/.profile ?)
>
> - Jim Van Zandt
>
> *****************************************************************
> To unsubscribe from this list, send mail to [EMAIL PROTECTED]
> with the text 'unsubscribe gnhlug' in the message body.
> *****************************************************************
--
_________________________________________________________________________
Linux, the choice | "I'd love to go out with you, but it's my
of a GNU generation -o) | parakeet's bowling night."
/\ |
_\_v |
|
-------------------------------------------------------------------------
*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************