Bash Aliases
These aliases and functions will be already defined if you use my Fvwm setup. Give the command alias to see the definitions.alias dir='ls -la' alias big='ls -Sla | head -20' # show biggest 20 files alias cdwww='cd public_html' # change to www alias cp='cp -i' alias eldo='ssh -l $LOGNAME eldorado.nmt.edu' alias funct='declare -f' # show bash functions alias infohost='ssh -l $LOGNAME infohost.nmt.edu' alias h='history | tail -38' alias lookup='host' alias m='more' alias mv='mv -i' alias pcolor='lpr -Pcolor' alias ptrans='lpr -Ptransparency' alias pub='cd /u/ftp/pub/people/' alias qcolor='lpq -Pcolor' alias qtrans='lpq -Ptransparency' alias q5='lpq -Pspeare5' alias rm='rm -i' alias trace='/usr/sbin/traceroute' alias x='chmod +x' # make file executable alias whereami='pwd'Bash Functions
Give the command funct to see definitions of all function definitions or type fname for definition of function named fname.function tdir (sort files chronologically) function xtrm (xterm, give option for new host) function rainb (xterm on rainbow for specified user)Also see Unix commands
Ansys -- Assignments -- MENG 421