magento
asked on
Source shell script
Hi Experts,
1)Is it possible to get the flag status of one script to another.
Suppose.
1.sh
2.sh
2) Please share some knowledge on Global variables and set command.I was bit confused checking the tutorials .
Thanks
1)Is it possible to get the flag status of one script to another.
Suppose.
1.sh
#!/bin/sh
source 2.sh
(If [Flag = True ] )&& (source 3.sh)
2.sh
#!/bin/sh
Some code here
Flag = True
2) Please share some knowledge on Global variables and set command.I was bit confused checking the tutorials .
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
for your other question, yes you can run terminal either on the console of the system or via putty or X windows and run scripts, etc.
ASKER
Omarfarid,
Please tell me how to open the terminal .
Once i logged in i see a horizontal menu available , where i can see the terminal options?
Thanks
Please tell me how to open the terminal .
Once i logged in i see a horizontal menu available , where i can see the terminal options?
Thanks
Depending on your window manager, you should be able to just start typing 'terminal' to bring up the appropriate icon to click on.
It depend on your interface. Please see link below:
https://help.ubuntu.com/community/UsingTheTerminal
https://help.ubuntu.com/community/UsingTheTerminal
ASKER
Thanks Tintin and Omarfarid for your help .
Welcome
ASKER
If i install ubuntu , can i able to work on terminals like we work in putty ? eg.creating script, test it .