10 More Discussions You Might Find Interesting
1. AIX
I need to grep two lines from topas command in one of my AIX server.
Topas Monitor for host: semas001 EVENTS/QUEUES FILE/TTY
Wed Jan 29 10:12:06 2014 Interval: 2 Cswitch 764 Readch 4473.1K
Syscall 5166 ... (4 Replies)
Discussion started by: rpm120
4 Replies
2. Shell Programming and Scripting
hi,
i want to pop up an alert box using perl script. my requirement is.
i am using a html page which calls a perl script. this perl script calls a shell script.. after the shell script ends its execution, i am using exit 0 to terminate the shell script successfully and exit 1 to terminate the... (3 Replies)
Discussion started by: Little
3 Replies
3. Shell Programming and Scripting
#!/usr/local/bin/bash
set -vx
/prod/HotelierLinks/palaceLink/bin/PalacefilesWait /prod/HotelierLinks/palaceLink/bin/prodEnvSetup 03212013 &
if
then
echo "fatal error: Palace/HardRock failed!!!!" 1>&2
echo "Palace Failed" | mail -s "Link Failed at Palace/HardRock" -c... (1 Reply)
Discussion started by: aroragaurav.84
1 Replies
4. Shell Programming and Scripting
Hi all,
I have a shell script inside which i am executing another shell script. In the inner script im executing a command. i want the status of that command in the outer script to perform some validations.
How to get its status please help!!1
Im using ksh. (2 Replies)
Discussion started by: Jayaraman
2 Replies
5. Shell Programming and Scripting
I have sql file containing lot of queries on different database table. I have to filter specific table queries.
Let say i need all queries of test1,test2,test3 along with four lines above it and sql queries can be multi lines or in single line.
Input file contains.
set INSERT_ID=1;
set... (1 Reply)
Discussion started by: mirfan
1 Replies
6. Shell Programming and Scripting
I need help in the following script. I want to grep the sql errors insert into the error table and exit the shell script if there is any error, otherwise keep running the scripts.
Here is my script
#!/bin/csh -f
source .orapass
set user = $USER
set pass = $PASS
cd /opt/data/scripts
echo... (2 Replies)
Discussion started by: allinshell99
2 Replies
7. UNIX for Dummies Questions & Answers
Hi Guys,
I have a script which takes reply from user and executes the corresponding scirpt. Below is the script
PS3 = 'Enter the options of your choice(x to exit)=>'
select useropt in 'List Processess' \
'List semaphores'
do
case $REPLY in
1) abc.sh
... (13 Replies)
Discussion started by: vandi
13 Replies
8. UNIX for Dummies Questions & Answers
I'm new to Linux. I have a bash script that invokes an executable. I'd like use the SCRIPT command inside the script and exit out of the script command after it writes to the file. Does this make sense? Below is an example of the contents of my script.
#BEGIN SCRIPT
script typescript... (6 Replies)
Discussion started by: jmungai
6 Replies
9. Shell Programming and Scripting
Hi Gurus,
I need some help with the "grep" command or whatever command that you think suitable for me. I'm about to write a perl script to extract a report from the system and submit it to the end users. The input for the script will consist of 3 element.
1) Generation ID
2) Month
3) Year... (6 Replies)
Discussion started by: miskin
6 Replies
10. Shell Programming and Scripting
I have a shell script with options, one of which should exit the system (logout), however when I select this option it drops down to shell, is there a command other than exit that will close the session completely ? (1 Reply)
Discussion started by: gefa
1 Replies