Data Storage - Editing file on ONTAP netapp filer

This is Interesting: Free IT Magazines  
Home > Archive > Data Storage > September 2005 > Editing file on ONTAP netapp filer





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Editing file on ONTAP netapp filer
eyal.rif@gmail.com

2005-09-14, 7:46 am

Hi,

Is there any way to view/edit file under /etc on netapp filer using RSH
(without mounting the /vol/vol0) ?

Regards,

Faeandar

2005-09-14, 5: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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com