Path: utzoo!attcan!telly!lethe!torsqnt!news-server.csri.toronto.edu!rutgers!psuvax1!wuarchive!sdd.hp.com!hplabs!hpcc05!hpwrce!rek From: rek@hpwrce.HP.COM (Ron Kittle) Newsgroups: comp.sys.hp Subject: Re: Re: Tips for a new HP admin? (rdump/rrestore to exabyte) Message-ID: <7870027@hpwrce.HP.COM> Date: 14 Dec 90 18:27:24 GMT References: Organization: HP Mountain View Lines: 19 re: csh backup scripts Thanks for posting your backup scripts, Jim. I'd like to pass along a tip to the net regarding csh scripts. When using csh for writing scripts, it's a good idea to use the following as the first line of the script: #!/bin/csh -f This will invoke csh with the "-f" (fast) option, which suppresses reading the $HOME/.cshrc file. This improves startup time, and more importantly, it eliminates the possibility that aliases from the .cshrc file will change the functionality of the shell script. The (roughly) analogous option to ksh is "-p". Since /bin/sh doesn't use a startup script for non-login shells, this is not an issue for sh. Ron Kittle rek@hpwrc.hp.com #include