logo
Manual Pages
Table of Contents

NAME

na_rdfile - read a WAFL file

SYNOPSIS

rdfile filename

DESCRIPTION

rdfile reads the specified file and writes the contents to standard out. filename must be a fully-qualified pathname. Files that contain non-ASCII characters will have indeterminate output.

EXAMPLE

  toaster> rdfile /etc/hosts
  #Auto-generated by setup Wed Feb  9 06:11:21 GMT 2000
  127.0.0.1 localhost
  toaster> rdfile /vol/vol0/etc/exports
  #Auto-generated by setup Mon Apr  2 18:43:04 PDT 2007
  /vol/vol0       -sec=sys,rw,anon=0,nosuid
  /vol/mm_vol1    -sec=sys,rw,nosuid
  toaster> rdfile /vol/vol1/files/test_me
  This is a test file.
  It is for a rdfile test.
  toaster>

SEE ALSO

wrfile(1),

WARNINGS

If a user has the capability to execute the rdfile command, then the user and read any file on the filer.
Table of Contents