Table of ContentsLibraryView in Frames

Reading a WAFL file

Data ONTAP enables you to read a file from the storage system and write its contents to standard output.


Attention: A user who has the capability to execute the rdfile command can read any file on the storage system. Exercise caution about security issues with the rdfile command.


  1. Enter the following command: rdfile filename

    filename is the name of the file whose content you want to read. It must be a fully qualified path name.

    Note: Files that contain non-ASCII characters may have indeterminate output.

Example rdfile command

The following example uses the rdfile command to read the content of the /etc/test file, which contains two lines, "line#1" and "#line#2".
toaster> rdfile /etc/test
Related tasks
Writing a WAFL file