Hi,
I wanted to state that "wrfile" will blow away whatever file you are issuing it on as soon as you execute it. So please be careful. In the past we have used wrfile to add a line to like the /etc/rc file or /etc/hosts or whatever but to add that one line we have had to re-enter in all of the original data by hand and then add the new line we want since wrfile blows away the contents of the file. That is why Netapp does not endorse the use of the rc_toggle_basic commands unless we provide training on them like in the 101 or 202 clases, or under the guidance of the tech support or escalation groups. Thanks, Jim -->>Date: Thu, 27 Jan 2000 16:54:33 -0700 (MST) -->>From: Jim Davis jdavis@cs.arizona.edu -->>To: Deron Johnson djohnson@amgen.com -->>cc: toasters@mathworks.com -->>Subject: Re: Hidden commands -->>MIME-Version: 1.0 -->> -->>On Thu, 27 Jan 2000, Deron Johnson wrote: -->> -->>> A few potentially useful hidden commands have been mentioned on this -->>> list recently. Namely -->>> -->>> rdfile - read a file -->>> wrfile - write a file -->>> pktt - packet trace -->>> -->>> Are there any others worth knowing about? -->> -->>If you take the Netapp 202 course they'll go into a lot of other ones. But -->>many of those are pretty specialized or obscure. -->> -->>> Someone mentioned that these commands may be dangerous to use. Any comments? -->> -->>Umm, well I doubt you'll hurt yourself with rdfile -- it's handy for -->>quickly listing files on the console. But of course you can go to your -->>admin host and cat /net/toaster/whatever, too. Some of the really obscure -->>stuff (like the ~pi things at the boot floppy level) can be pretty drastic -->>if you aren't careful. I managed to hose a filer or two in the Netapp 202 -->>lab that way! -->> -->>Let's put it this way -- I'm glad I took that course and know some -->>background about those commands. But if I ever get the filer in deep I'm -->>still going to call support and do what they say, instead of grabbing my -->>Netapp 202 notebook and just shooting from the hip. -->>
************************************************************ JIM RIPLEY Escalation Engineer --------------------------
Email: jamesr@netapp.com
Tech Support Hotline: 1-888-4-NETAPP
HQ Address Network Appliance 495 East Java Drive Sunnyvale, CA 94089
Get answers NOW! - NetApp On the Web - http://now.netapp.com
************************************************************