Editing file on ONTAP netapp filer
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > WebserverTalk Community > Data Storage > Editing file on ONTAP netapp filer




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-14-05 12:46 PM

Hi,

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

Regards,






[ Post a follow-up to this message ]



    Re: Editing file on ONTAP netapp filer  
Faeandar


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:04 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register