Table of Contents


source – read and execute a file of filer commands


source [ -v ] filename


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.


Enables verbose mode.


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

Copyright © 1994-2008 NetApp, Inc. Legal Information

7-mode Manual Pages , , , ,

  1. No comments yet.
  1. No trackbacks yet.

This site is not affiliated or sponsored in anyway by NetApp or any other company mentioned within.
%d bloggers like this: