Data ONTAP enables you to read data from standard input and write it into the specified file.
filename is the name of the file you want to write or append to. It must be a fully qualified path name. If filename does not already exist, the wrfile command will create it.
The interrupt character is Ctrl-C. If wrfile is run from the console, interrupting wrfile causes all characters typed on the same line as the interrupt character to be lost. The storage system will also issue an "interrupted system call" error message.
toaster> wrfile /etc/test line#1
read: error reading standard input: Interrupted system call toaster> wrfile -a /etc/test "line#2" toaster>
See the na_wrfile(1) man page for additional examples.