logo

Manual Pages


Table of Contents

NAME

source - read and execute a file of filer commands

SYNOPSIS

source [ -v ] filename

DESCRIPTION

The source command reads and executes a file of filer commands, line by line. Errors do not cause termination; upon error the next line in the file is read and executed. The filename argument must contain the fully qualified pathname to the file because there is no concept of a current working directory in ONTAP.

Options

-v
Enables verbose mode.

WARNINGS

Since execution does not halt on error, do not use the source command to develop scripts in which any line of the script depends on successful execution of the previous line.


Table of Contents