09-14-05 10:48 PM
On 14 Sep 2005 03:43:44 -0700, eyal.rif@gmail.com wrote:
>Hi,
>
>Is there any way to view/edit file under /etc on netapp filer using RSH
>(without mounting the /vol/vol0) ?
>
>Regards,
I've never tried it from rsh but if you're logged into the filer you
can use 'rdfile /etc/file' and 'wrfile /etc/file'.
Be careful with wrfile, it re-writes the entire file, it DOES NOT
append. So when you wrfile you need to put ALL the info you want in
the file, not just the new stuff. Once done editing hit enter so the
cursor is on a newline and hit cntl-C. It will give you a message
that looks bad but it wrote the file. You can verify it with rdfile
again.
~F
[ Post a follow-up to this message ]
|