Search Contact information
University of Cambridge Home Department of Engineering
University of Cambridge >  Engineering Department >  computing help
next up previous contents
Next: Unix accessories Up: Some useful shell and Previous: Some useful shell and   Contents

Shell commands

See the ksh or sh-posix man page for more info on these. In bash you can use the help command.
alias :-
to list aliases
let :-
to do maths. Eg:- let x=2*4-5 ; echo $x
set :-
to list the current variables and their values.
typeset -f :-
to list functions
typeset -i :-
to list integer variables
which :-
to find where a program is (in some shells you use whence instead)

Tim Love 2010-04-27