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 ~/.cshrc

Get Linux in a Nutshell, Fourth 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.