10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am writing a bash script to run test some scripts.
The names scripts of the scripts to tests are stored in an array.
scptArr='chcksfrd.bash'
scptArr='compute-misfit.bash'
scptArr='compute-travel-times.bash'
scptArr='create-data-tinv.bash'
scptArr='create-docs.bash' ... (3 Replies)
Discussion started by: kristinu
3 Replies
2. OS X (Apple)
i have this code that i want to run but it is not working
i.e if the user slected say production it will then run the command for production
any ideas what i need to change
set question to choose from list {"production"}
set answer to question
if answer question is "Production: then ... (5 Replies)
Discussion started by: ab52
5 Replies
3. Shell Programming and Scripting
Dear Members,
I have a table REQUESTS in Oracle which has an attribute REQUEST_ACTION. The entries in REQUEST_ACTION are like, ME, MD, ND, NE etc.
I would like to create a script which will will call other scripts based on the request action.
Can we directly read from the REQUEST_ACTION... (2 Replies)
Discussion started by: Yoodit
2 Replies
4. UNIX for Dummies Questions & Answers
I am trying to show the number of dead accts or false shells running and include a count at the end. Does anyone know how to go about this? Thanks - citizencro (3 Replies)
Discussion started by: citizencro
3 Replies
5. Shell Programming and Scripting
Folks,
I have written one script for following condition by referring some of online post in this forum. Please correct it if I'm missing something in it. (OS: AIX 5.3)
List the idle user. (I used whoidle command to list first 15 user and get username, idle time, pid and login time).... (4 Replies)
Discussion started by: sumit30
4 Replies
6. Shell Programming and Scripting
Hi folks
I use a Solaris 10 box with Bash shell.
I have here a script (it works!) to list all scripts in crontab which contains the string "sqlplus":
for i in $(ls `crontab -l | grep -v '#' | awk '{ print $6 }' | grep -v '^$'`); do grep -l 'sqlplus' "$i"; done
Is there a more elegant... (1 Reply)
Discussion started by: slashdotweenie
1 Replies
7. Shell Programming and Scripting
Hi
Can anyone please help me in knowing the list of scripts which are running in cron .
I mean suppose there are users
1.A
2.B
3.C
4.D
5.E
users on a pariticular server
I need to have a script which will display all the scripts that are runnin in cron for all the above users ? is it... (1 Reply)
Discussion started by: mskalyani
1 Replies
8. Shell Programming and Scripting
Hi,
I have to write a program to compute the checksums of files
./script.sh
I wrote the program using bash and it took me forever since I am a beginner but it works very well.
I'm getting so close to the deadline and I realised today that actually I have to use normal Bourne shell... (3 Replies)
Discussion started by: pgarg1989
3 Replies
9. UNIX for Dummies Questions & Answers
what is the difference between login and profile scripts versus the rc scripts? (1 Reply)
Discussion started by: rookie22
1 Replies
10. UNIX for Dummies Questions & Answers
Which command should I use to get the list of all the .pl scripts on the unix server...
Thanks in advacne,
Venky (3 Replies)
Discussion started by: venkyA
3 Replies