10-29-2007
Solution
you need to give permission to the script to make it running without prefixing it with a 'sh' or '.'
try
$ chmod 777 abc.sh
$ abc.sh
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Is anyone can help me to find out the difference in Shell Scripts between HP and Sun.
Thanks in advance,
Vijay R (3 Replies)
Discussion started by: rv_kumar
3 Replies
2. AIX
Hi,
Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec
0 Replies
3. Shell Programming and Scripting
Oracle and Scripting gurus,
I need some help with this script...
I am trying to add the query
SELECT * FROM
ALL_SYNONYMS
WHERE SYNONYM_NAME = 'METADATA'
in the current script....
Read the result set and look for the TABLE_NAME field. If the field is pointing to one table eg.... (18 Replies)
Discussion started by: madhunk
18 Replies
4. Shell Programming and Scripting
Hi-
I am trying to achieve the following in a script so I can schedule it on a cron job. I am fairly new to the unix environment...
I have written a shell script that reads a flat file and loads the data into an Oracle table (Table1) via SQLLDR. This Works fine. Then, I run a nested insert... (5 Replies)
Discussion started by: rajagavini
5 Replies
5. Shell Programming and Scripting
What is the difference between calling the sub scripts of below two line.
/home/scripts/devdb.sh
. /home/scripts/devdb.sh
sh /home/scripts/devdb.sh
We are using the suse 2.0 version (4 Replies)
Discussion started by: kingganesh04
4 Replies
6. Shell Programming and Scripting
Hi,
I have written a some six scripts to move large files and re-size them. This has been done step by step, taking backup, creating the new files, merging the files, removing the temporary files created.
Since these files are around 500 MB, each step takes somewhere between 1 to 5 mins.
... (1 Reply)
Discussion started by: baanprog
1 Replies
7. Shell Programming and Scripting
Hello gurus,
I have three korn shell script 3.1, 3.2, 3.3. I would like to call three shell script in one shell script.
i m looking for something like this
call 3.1;
If 3.1 = "complete" then
call 3.2;
if 3.2 = ''COMPlete" then
call 3.3;
else
exit
The... (1 Reply)
Discussion started by: shashi369
1 Replies
8. Shell Programming and Scripting
Hi,
Can anyone tell me how to call a oracle package from a Unix shell script? I want to pass some input parameters to package and it will return me the output which I want to use further in my shell script. I want to know the way to capture the output values in my shell script. Please send some... (1 Reply)
Discussion started by: anil029
1 Replies
9. Shell Programming and Scripting
Hi All,
I need some urgent help regarding some info.
I have a cluster of servers for which I have two scripts for management.
control.sh is a bash script meant for restarting/stopping the servers.
manger.ksh is a kshell script. It is a master script to manage restarting/stoppping and... (3 Replies)
Discussion started by: ankur328
3 Replies
10. Shell Programming and Scripting
Dear all,
I am working on script which call other shell scripts in a loop but problem is from second script am not able to come out.
Here is the snippet:-
#!/bin/bash
HSFILE=/root/Test/Components.txt
LOGFile=/opt/domain/AdminDomain/application/logs... (3 Replies)
Discussion started by: sharsour
3 Replies
LEARN ABOUT HPUX
list_clearinghouse
list clearinghouse(1m) list clearinghouse(1m)
NAME
list clearinghouse - Displays a list of all the clearinghouses whose names match the specified clearinghouse name
SYNOPSIS
cdscp list clearinghouse clearinghouse-name [with attribute-name = attribute-value]
ARGUMENTS
The full name of a specific clearinghouse. The last simple name can contain wildcard characters. The name of a particular attribute. The
value of a particular attribute.
DESCRIPTION
The list clearinghouse command displays a list of all the clearinghouses whose names match the specified name. The last simple name can
contain wildcards. You can use a with attribute-name = attribute-value clause to limit output only to clearinghouses whose attributes have
values equal to the specified values. A space must precede and follow the = (equals sign).
Privilege Required
You must have read permission to the directory that stores the associated clearinghouse object entry. If you use a with attribute-name =
attribute-value clause in the command, you also need read or test permission to the selected clearinghouses.
NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
The following command displays a list of all the clearinghouses named in the root directory: cdscp> list clearinghouse /.:/*
LIST
CLEARINGHOUSE /.../abc.com/*
AT 1991-10-15-15:56:00 /.../abc.com/Munich_CH /.../abc.com/Paris_CH
RELATED INFORMATION
Commands: clear clearinghouse(1m), create clearinghouse(1m), delete clearinghouse(1m), set cdscp preferred clearinghouse(1m), show cdscp
preferred clearinghouse(1m), show clearinghouse(1m)
list clearinghouse(1m)