Using
Computers
in
Linguistics:
A
Practical
Guide

The
UnixTM
Language
Family

Online Appendix:
Shells, Aliases, and Scripts

Shells:
Yahoo on Unix Shells
FAQ for comp.unix.shell
tcsh

4 takes on alias:
alias substitution
aliases
alias
alias command

Scripts:
How to write an sh script
Litteracy Assignment # 6

Shells, Aliases, and Scripts

Every Unix user has a shell, which interprets commands; actually there are several, in particular the original Bourne shell (sh), and the C-shell (csh).

Aliases are a feature of csh, and its advanced successor tcsh, while scripts are possible in both shells. You get your choice, though the vast majority of shell scripts are for sh, since it's a simpler programming language.

Virtually everything in Unix is designed to be automated, customized, or used in an alias or a script. You never have to remember arcane Unix commands or switches for longer than it takes you to think up an alias for them.


Back to Chapter Appendix             Up to Book Page  
Unix in General           Filter Languages             Regular Expressions  
Last change October 19, 1998       John Lawler