Networking Forums

Networking Forums > Computer Networking > Linux Networking > zmienna bash

Reply
 
 
Zenon
Guest
Posts: n/a

 
      05-07-2004, 09:48 AM
mam taki problemik

zrobilem sobie kilka zmiennych w skrypcie Firewalla, jednak glowny skrypt
uruchamia inne (mniejsze) skrypty, podzielilem go dla przejzystosci.. Jednak
w nastepnych skryptach zmienne nie sa juz widoczne...

Jak zadeklarowac zmienne, aby byli widoczne we wszystkich skryptach?

Ja to zrobilem tak:

ip="192.168.1.1"

pozdrawiam


 
Reply With Quote
 
 
 
 
Umpa
Guest
Posts: n/a

 
      05-07-2004, 11:21 AM
> ip="192.168.1.1"
>

Obadaj "export ip"



 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux bash syntax Q: Coenraad Loubser Linux Networking 4 01-16-2005 05:31 PM
Setting $TERM when using rsh and ssh with bash waterbottleboodle Linux Networking 1 11-08-2003 10:29 PM
Bash script to see if PPP link is up... Gabriel Michael Linux Networking 34 09-14-2003 03:55 PM
Bash script via inetd = no joy tylernt Linux Networking 10 09-05-2003 08:53 PM
confused with BASH shell in Redhat Ka Linux Networking 10 09-03-2003 12:25 AM



1 2 3 4 5 6 7 8 9 10 11