10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have script.
for translation in $(echo $MY_MAP)
t1=$(echo $translation | cut -d"=" -f1)
t2=$(echo $translation | cut -d"=" -f2| cut -d"," -f1)
... (4 Replies)
Discussion started by: yadavricky
2. Shell Programming and Scripting
I'm trying to do teh below thing.
I have a single script which uses 3 different parameters to do 3 different work like belwo.
test1.sh par1 -- it shuts down an instance
test1.sh par2 -- it shuts down an instance
test1.sh par3 -- it shuts down an instance
Now I created a script... (7 Replies)
Discussion started by: bhaski2012
3. Shell Programming and Scripting
Hi Unix Experts,
Happy Morning to all !! :)
I am new to UNIX Shell Scripting and at my begineer level. To get acquainted to scripting, I am trying to create a script.
The details/requirements of my script was to create a script with month changing logic in it so that on every 6th Working... (3 Replies)
Discussion started by: micky3112
4. Shell Programming and Scripting
Is there any way where we can run few commands with different shell in a shell script ?
Let's have an example below,
My first line in script reads below,
However due to some limitation of "/bin/sh" shell I wanted to use "/bin/bash" while executing few... (9 Replies)
Discussion started by: gr8_usk
5. UNIX for Dummies Questions & Answers
I have a shell script which we keep on changing permissions on a On-Demand Basis-->for e:g--from 400(Read only) to 740(Execute permission) etc.
Is there any way by which I can view the history of the script?-->I am interested in finding out the date-time stamps when the script's... (2 Replies)
Discussion started by: DevotedPupil
6. Shell Programming and Scripting
Guys can I change the shell thru script, and after changing i want the script to continue on the previous machine.
Or please suggest other alternative if any???
echo "Running the script..."
for MyServer in `cat ServerNames.txt`
echo "\n Logging onto... (4 Replies)
Discussion started by: sdosanjh
7. Shell Programming and Scripting
I have a continous polling happening inside a shell script on AIX. This actually calls a PL/SQL block. Is there a way I can set up a variable or pass an interrupt to end the script gracefully. I cant read from the config once the job starts running. Ideally I should change value of a variable and... (1 Reply)
Discussion started by: kshyju
8. Shell Programming and Scripting
I am using HP-UNIX.
I have a requirement as below
I have to change env twice like:
ccm start -d /dbpath
ccm tar -xvf *.tar
ccm rcv ....
mv *.tar BACKUP
but after I do the first cadenv <env> , I am unable to execute any of the later commands .
... (6 Replies)
Discussion started by: charlei
9. Shell Programming and Scripting
Pleae help me on this. Normally, when we say read username, the cursor will come in the first position of next line, but I want the output of the below
please enter username:
I want like the below
please enter username:
... (2 Replies)
Discussion started by: balamv
10. Shell Programming and Scripting
Does anybody know how to change the password on multiple servers with a script. I have 300 Sun boxes and the password expiry is set to 30 days. Im in a process to build a script using expect. Need a help from an expert who has already done it.
Vinod (1 Reply)
Discussion started by: chellam