->Title Page
->Intro
->Unix
-->Overview
-->File Structure
-->Online Manual
-->Basic Commands
-->Additional Commands
--->alias
--->ap
--->biff
--->chmod
--->compress/uncompress
--->df
--->diff
--->du
--->echo
--->find
--->finger
--->ftp
--->grep
--->history
--->kill
--->look
--->mail
--->ps
--->script
--->setenv
->source
--->spell
--->tar
--->telnet
--->umask
--->who
--->Miscellaneous
-->Login files
-->Special characters
-->Miscellaneous Tips
-->Things to try
->Vi editor
->Mirror sites
->Further reading

[ Up ]
[Prev][Home][Next]
[Author]

Unix ---> 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.

Please notify owners of webpages with outdated links to these pages

Find this site useful? Want to give something back?

© 1993-2001 Christopher C. Taylor