10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I'm trying to create a shell script that takes a awk script that I wrote and a filename as an argument. I was able to get that done but I'm having trouble figuring out how to keep the header of the output at the top but sort the rest of the rows alphabetically. This is what I have now but it is... (1 Reply)
Discussion started by: Eric7giants
2. Shell Programming and Scripting
I've 2 shell scripts viz., CmnFuncs.ksh and myScript.ksh.
1st script contains all common functions and its code is as below:
export Rundt=`date +%Y%m%d`
2nd script is invoking the above one and I expect to use the RunDt variable... (8 Replies)
Discussion started by: njny
3. Shell Programming and Scripting
I need immediate help in creating shell script to call archivebkup.ksh script when archive file system capacity reaches threshold value or 60%
Need to identify the unique file system that reaches threshold value.
... (4 Replies)
Discussion started by: sasikanthdba
4. Shell Programming and Scripting
i am trying to do this
bash> cat abc.sh
so it is giving me write simply i created a func and it worked
now i modified it like this way
bash> cat abc.sh (2 Replies)
Discussion started by: aishsimplesweet
5. Red Hat
please help me in this script
shell script :1
echo "this is first file"
d=13 (2 Replies)
Discussion started by: ponmuthu
6. Shell Programming and Scripting
I basically have 2 shell scripts.
One is a shell script will get the variable value from the user. The variable is nothing but the IP of the remote system.
Another shell script is a script that does the job of connecting to the remote system using ssh. This uses a expect utility in turn.
... (2 Replies)
Discussion started by: sunrexstar
7. Shell Programming and Scripting
Ok, don't ask me why, but all calls to perl must be called by a shell script. Its really not ideal, but its what I have to work with.
Calling it isnt the issue, its passing in the arguments.
I have about 1000 perl scripts to call by a shell script. Right now, I'm executing the shell script... (3 Replies)
Discussion started by: regexnub
8. Shell Programming and Scripting
i have perl scipt with line :
system('./try.sh $t $d $m');
in shell scipt try.sh i have the line:
its not printing value of $t that i hav passed..y is it so..i am running it from apache web server (2 Replies)
Discussion started by: raksha.s
9. UNIX for Dummies Questions & Answers
I have 4 shell scripts
b.ksh -> depends on a.ksh success -> log into b.log
c.ksh -> depends on b.ksh success -> log into c.log
d.ksh -> depends on c.ksh success -> log into d.log
I will have to write main.ksh
execute a.ksh , log into a.log
if a.ksh= success, execute... (1 Reply)
Discussion started by: konark
10. Shell Programming and Scripting
I have a shell script that calls another shell script "str_process_main" that runs in a loop until a given time. I want the first script to just call the second one and then exit. The first script is:
DPID=$(ps -ef|grep str_process_main|grep -v grep)
if ;... (2 Replies)
Discussion started by: heprox