[Next] [Up] [Previous] [Contents]
Next: spell Up: Additional commands Previous: setenv

source

The source command sends the contents of a text file to the Unix shell. Suppose I have (and I do) a number of alias commands that I want typed in. Rather than typing them all in, I keep them stored in a file called (oddly enough) .alias. All I need to do is type


    source .alias
and I have all my alias commands executed as if I had typed each one in separately.


c.c.taylor@ieee.org