I am writng a shell script which will call another script startServer and then execute one more script pingServer to check if the server is up.
As it takes sometimes for the server to start, so I have defined an until loop to check the status of the server until the server is up, by calling the pingServer script again.
I want pingServer script to be executed 4 times in every 4 minutes before terminating the loop.
I've already written a script, so need your guidance and suggestions(mainly in Retries statement) in making the script better.
Hi,
I am new to shell programming, and hve been given a request to write a shell script.
Is there any good places to go to see examples of how to write shell programming scripts?
Thanks (4 Replies)
For what purposes should we use shell
/what are the tasks we can achieve using shell
which is best book to learn shell programming
and will nayone tell me diff between shell programming aand shell scripting?
Thank u in advance. (1 Reply)
Provides a menu structure that allows a user to select several options - input a name and address,
lookup a name and address, delete a name and address, and print a formatted report from a text
database (note: this requirement assumes that you will use the program to create a database, though in... (1 Reply)
How can i get sendmail to immediately bounce mail when the server on the other side gives a "550 unknown user" SMTP error? Currently, the outbound mail stays in the queue and is retried until our server gives up, some days later. (0 Replies)
Hi iam new to shell programming. I would like to ask one dought abt the file
handling in unix.
Iam having a file1 as follows:
ASDERFCX1234567890123456
POIUYTRE0098765432123456
BVCXCVBN0955644411111111
File2
ASDERFCX1234567890123456 kill@abc.com ... (8 Replies)
My purpose was to print out all of name of students in a list.First of all,I created a file name "List" in /home/tuan/Desktop/Shell_programming as below
Tom
Henry
Ben
Linda
Marry
And my script "script" is
#!/bin/sh
path=/home/tuan/Desktop/Shell_programming/List
for student in $path... (3 Replies)
Hi i need a favour
i have a file which has some trillions of records. The file is like this
11111000000000192831840914000000000000000000000000000
45789899090000000000000000011111111111111111111111111
I want to cut specific postions in each line like cut1-3 and assisgn it to a variable and... (0 Replies)