| Author |
Message |
Guest
|
Posted:
Wed Sep 14, 2005 3:43 pm Post subject:
Editing file on ONTAP netapp filer |
|
|
Hi,
Is there any way to view/edit file under /etc on netapp filer using RSH
(without mounting the /vol/vol0) ?
Regards, |
|
| Back to top |
|
 |
Faeandar
Guest
|
Posted:
Wed Sep 14, 2005 4:16 pm Post subject:
Re: Editing file on ONTAP netapp filer |
|
|
On 14 Sep 2005 03:43:44 -0700, eyal.rif@gmail.com wrote:
| Quote: | 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 |
|
| Back to top |
|
 |
worldchanger
Joined: 26 Oct 2005
Posts: 1
|
Posted:
Wed Oct 26, 2005 6:54 pm Post subject:
Re: Editing file on ONTAP netapp filer |
|
|
| Anonymous wrote: | Hi,
Is there any way to view/edit file under /etc on netapp filer using RSH
(without mounting the /vol/vol0) ?
Regards, |
Another way is from your pc go to the start, run prompt and enter the following:
\\netappipornamehere\c$\
By default it should share out your /etc directory as the c$ share. Once this has happend, you can edit the files you wish with ease using tools you are familiar with. |
|
| Back to top |
|
 |
|
|
|
|