Skip to main content
SnapManager Oracle

The smo cmdfile command

Contributors NetAppZacharyWambold

You can use the cmdfile command to run any command if the shell on your host limits the number of characters that can appear on a command line.


        smo cmdfile
-file file_name
\[-quiet \| -verbose\]

You can include the command in a text file and use the smo cmdfile command to execute the command. You can add only one command in a text file. You must not include smo in the command syntax.

Note The smo cmdfile command replaces the smo pfile command. The smo cmdfile is not compatible with the smo pfile command.


  • -file file_name

    Specifies the path to text file containing the command you want to execute.

  • -quiet

    Specifies that only error messages are displayed in the console. The default is to display error and warning messages.

  • -verbose

    Specifies that error, warning, and informational messages are displayed in the console.