Hi,

Your Script File Will Run On The New Shell 

When The Script Finished  Your Current Directory 

 Will Be The Same As Before..
Jalal

 > From [EMAIL PROTECTED] Sun Dec 10 15:26:23 2000
> Delivered-To: [EMAIL PROTECTED]
> X-Sender: [EMAIL PROTECTED]
> Date: Sun, 10 Dec 2000 06:57:53 -0500
> To: [EMAIL PROTECTED]
> From: Grant Nygren <[EMAIL PROTECTED]>
> Subject: Running file
> Mime-Version: 1.0
> X-Loop: [EMAIL PROTECTED]
> X-BeenThere: [EMAIL PROTECTED]
> X-Mailman-Version: 2.0beta4
> List-Id: General Red Hat discussion list <redhat-list.redhat.com>
> 
> Hello,
>       I am trying to write a script file execute the following commands, but its 
> not working.
> 
> #!
> cd /etc/rc.d/
> ./rc.firewall
> cd /root
> 
> The problem is in the second line. I have to really be in /etc/rc.d/  and 
> enter "./rc.firewall" for the file to execute. I would like to automate 
> this. Any suggestions?
> ==========
> Grant
> [EMAIL PROTECTED]
> Witty QUOTE: Hmm...ah...hmm...Haa!...err...aaaa...Ah!...no *sigh*
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to