Extremely New to Shell Scripts


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Extremely New to Shell Scripts
# 1  
Old 12-16-2011
Extremely New to Shell Scripts

I am sorry if this qeustion is silly. (Please see Title of this thread.)

Is it possible to build a shell script that 1) runs a nawk command that I know works, to analyze a column of data and 2) after that column is analyzed, if the result is over a certain level, send an email with the results?

Thanks again.
# 2  
Old 12-16-2011
most likely.
# 3  
Old 12-16-2011
How to assemble the parts you have into what you want really depends on how they work, but it definitely sounds possible. More details are needed. You might modify the awk program slightly to make it easier to test its result in the shell for example.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Working with extremely large numbers in C

Hi All, I am just curious, not programming anything of my own. I know there are libraries like gmp which does all such things. But I really need to know HOW they do all such things i.e. working with extremely large unimaginable numbers which are beyond the integer limit. They can do add,... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies

2. Solaris

Re-sync Taking Extremely Long.

It's almost 3 days now and my resync/re-attach is only at 80%. Is there something I can check in Solaris 10 that would be causing the degradation. It's only a standby machine. My live system completed in 6hrs. (9 Replies)
Discussion started by: ravzter
9 Replies

3. Shell Programming and Scripting

Extremely rusty on my scripting and need help!

Hello everyone, hope that your holiday's were good. I am getting back into some System Admin work after taking last year off and feeling a little rust. I am doing some reporting and I have a log file that I need to pull some information from. And here is what the extract is from the log file. ... (6 Replies)
Discussion started by: scottzx7rr
6 Replies

4. Shell Programming and Scripting

calling 'n' number of shell scripts based on dependency in one shell script.

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

5. UNIX for Dummies Questions & Answers

help with extremely basic problem

Alright i'm having problems with this loop. Basically once the script is ran a parameter is required. Once entering the parameter it displays that in LIMIT. Alright so now the problem, I need my loop to ask my user for a number, and if that number is less than the limit then sum the input values... (4 Replies)
Discussion started by: tragic54
4 Replies

6. UNIX for Dummies Questions & Answers

Extremely New

I just loaded Cygwin on my XP deskop. I am TRYING to install a program that said it needs this program to run. How do I install or run a program? Keep in mind I just started with Unix yesterday:) (1 Reply)
Discussion started by: gss
1 Replies

7. UNIX for Dummies Questions & Answers

extremely new to unix, need help

Hi, I'm really new and I need help with UNIX. I'm not sure how to use FILE * fp properly, I don't know how to use loops, I don't know how to using i++ or ++i to do things like count the number of scans and print it out, and I don't know how to call functions and use them. I really only know how to... (1 Reply)
Discussion started by: s2pids2pid
1 Replies

8. AIX

Difference between writing Unix Shell script and AIX Shell Scripts

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

9. UNIX for Dummies Questions & Answers

Extremely Interested

As i was reading an article on being a "HACKERS" which was 30 minutes ago thinking that HACKING was the same as CRACKING, after the reading i discovered their difference, a hacker builds the internet while crackers just cracks and annoy like phreaking and breaking into people's computer. That... (5 Replies)
Discussion started by: Punk18
5 Replies

10. UNIX for Dummies Questions & Answers

extremely headache

I need to execute command at remote host from my program. there is rs6000/aix standard command called rexec. unfortunately rexec ask username and password which must supplied interactively, of course it is impossible runned by program. So I have to change rexec command format to make user-name... (5 Replies)
Discussion started by: yatno
5 Replies
Login or Register to Ask a Question