Re: simple script

2003-10-09 Thread Toto Gamez
thanks - Original Message - From: Anthony E. Greene To: [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 9:26 PM Subject: Re: simple script On 09-Oct-2003/16:11 +0800, Toto Gamez <[EMAIL PROTECTED]> wrote:>anyone ca give me a simple script that whe

Re: simple script

2003-10-09 Thread Anthony E. Greene
On 09-Oct-2003/16:11 +0800, Toto Gamez <[EMAIL PROTECTED]> wrote: >anyone ca give me a simple script that when ppp0 is up it will issue the >command "add route -net 192.168.101.0 netmask 255.255.255.128 gw >192.168.101.126" Put the command in /etc/ppp/ip-up.local. Tony -- Anthony E. Greene

Re: simple script

2003-10-09 Thread Thierry ITTY
pppd automatically calls "/etc/ppp/ip-up.local" when the interface is up this script is intended for user customization (you shouldn't edit "/etc/ppp/ip-up") so you'd just have to add your "add route ... " command in it (create it if it doesn't exist) hth A 16:11 09/10/2003 +0800, vous avez écri

Re: simple script question

2003-06-11 Thread Leonard Miller
use the 'date' command in your script Example: mv report.txt `date '+%d-%b-%Y'`.txt will move report.txt to 11-Jun-2003.txt see 'man date' for more info >>> [EMAIL PROTECTED] 06/11/03 02:31PM >>> Sorry if this question is a no brainier, I'm a little new to Linux. I have a standard file that