h
show the (numbered) list of last commands.
r <number>
execute the command number <number>.
dh
show the (numbered) list of last used directories. [Very useful using the
very long afs directory names.]
cd -<number>
change to directory number <number>. [Also very useful using the very
long afs directory names.]
<TAB>
completes the commands (if not ambiguous) or (if ambiguous) shows the list
of possible command completions. Pressing <TAB> again, after an
ambiguous completion, cycles between possible completions.
ll **/*.f
lists all the files *.f in the subtree under present directory.
[N.B.: on VMS the same command was
DIR /SIZE /OWNER /DATE [...]*.F]
ll *.[co]
lists all files *.c and *.o.
ll -d ^*.c
lists all files whose name is different from *.c.
ll *.c~f*
lists all files *.c whose name don't start with f.
ll -d *(/)
lists all the subdirectories.
ll -d *(@)
lists all the links.
ll -d *(*)
lists all files with execution permission.
ll -d *(.)
lists all the plain files (neither link nor directories).
ll -d *(^.)
lists all the not-plain files.
ls -d ^(*.cfg|*.doc)
lists all files that are neither *.cfg nor *.doc