Name

source

Synopsis

    source [-h] script [args]

Read and execute commands from a shell script. With -h, the commands are added to the history list but aren’t executed. Arguments can be passed to the script and are put in argv.

Example

% source ~/.tcshrc

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.