10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have an if condition. If that condition is true then one script will be run and after that I need to check another condition based on the output value of first script.
i tried like below :
if ; then
if ; then
if ; then
if ;... (3 Replies)
Discussion started by: charanarjun
2. Shell Programming and Scripting
in the below command, i export a value to a variable which later is used by the script, however i dont see the exported value is actually been exported.
ssh user@host "export var=/path/ ; cd /path/ ; ./script"
how can i use the above command with proper value of var remotley (7 Replies)
Discussion started by: suraj.sheikh
3. Shell Programming and Scripting
I have a table REQUESTS in Oracle which has an attribute REQUEST_ACTION. The entries in REQUEST_ACTION are like, ME, MD, ND, NE etc.
I would like to create a script which will will call other scripts based on the request action.
Can we directly read from the REQUEST_ACTION... (2 Replies)
Discussion started by: Yoodit
4. Shell Programming and Scripting
I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email.
I need to call all three scripts execute them and... (2 Replies)
Discussion started by: pacifican
5. Shell Programming and Scripting
First i need to find all scripts directly under /DIR that end with ".sh" extension except "noallow.sh". That can be done with:
find /DIR -maxdepth 1 -name "*.sh"|grep -v "noallow.sh"
Now i want to run all the files output from the previous command.
The following code:
for filename in... (6 Replies)
Discussion started by: proactiveaditya
6. Shell Programming and Scripting
I am new to shell programming. I am trying to automate setting up a network using several scripts. Some of the scripts require to reboot in order to continue with the setup. Is it possible to enter another script as soon as the system reboots. Also, if the last line of the script is bash... (7 Replies)
Discussion started by: fantasyland
7. Shell Programming and Scripting
Hi all Im a newbie in shell scripting, i found it joyous creating simple adminitrative scripts, like adding users, modify and delete, remote sw install etc, now i want to intergrate my scripts to make a simple administrative tool, how do i access the scripts via a browser is it possible??
... (2 Replies)
Discussion started by: jefinah
8. Shell Programming and Scripting
I have 3 shell scripts, Script1,Script2 and Script3. Now I want to run Script1 and Script2 in parallel and Script3 should depend on successful completion of both Script1 and Script2.
Could you please suggest an approach of acheiving this...
Thanks in advance (2 Replies)
Discussion started by: itsme_maverick
9. UNIX for Dummies Questions & Answers
Hi, I'm pretty new to Unix and I just have a question concerning making a script executable without putting the "sh" command before it. In case it makes the difference I am on an Apple computer using the Terminal. Anyway here is the little test code I wrote followed by the commands I took to try... (1 Reply)
Discussion started by: BuyoCat
10. UNIX for Advanced & Expert Users
Does anybody experiencing this same problem?
I am using IRIX64 ver 6.5 at work.
I wrote some Perl scripts and to execute it.
First I try to put the Perl script at:
then I set the correct executable 755 right to the file
I make sure the PATH to the executable... (2 Replies)
Discussion started by: vtran4270