10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi All,
I am having a job and I need to send email when the job is running. On any other case (success,fail) I don't needed to send email. I check with BMC they told they dont have that in the version I am using.
So I created a dependent job and grepped for the status and sent email. My... (1 Reply)
Discussion started by: arunkumar_mca
1 Replies
2. Shell Programming and Scripting
junk.txt has a single numerical value in it, let's say 50421.44.
over.namelist has lots of expressions in it, but somewhere random it says value = x.x
I need to go into junk.txt, pull out the number, and amend over.namelist to say value = 50421.44.
:(:(
I'm trying to use sed, but... (5 Replies)
Discussion started by: jammyjames
5 Replies
3. Shell Programming and Scripting
Hi,
If I am asking this question, you must have already figured out , that I am new to Unix, so here it goes
I was trying to read a file, add some user defined content to it and send out an email , I did find out a way to achieve this, but looking at the code, it looks a bit crude to me, can... (3 Replies)
Discussion started by: karthikbhuvana
3 Replies
4. Shell Programming and Scripting
I have a file like this. I need to ues this file to send emails to the appropriate ID/group.
For instance in the first line
- Subject should be --> "A1.csv - ABC"
- Body should be --> File A1.csv has changed.
- Email should be sent to A1@xyz.com,A3@xyz.com
Lookup.csv:
... (1 Reply)
Discussion started by: vskr72
1 Replies
5. Shell Programming and Scripting
Hi everyone,
how can I get the highlighted text only?
I am only concerned with the first line of the "AUTHORITY SECTION" (in red).
thank you in advance (4 Replies)
Discussion started by: Abdulelah
4 Replies
6. Shell Programming and Scripting
I need help.....I have number of data files and I need to read the contains of each file which is three lines by awk commands or script, and send each line within the data file to different new file . That means I will have three files as a result, the first file will contains the first lines for... (4 Replies)
Discussion started by: aldreho
4 Replies
7. Shell Programming and Scripting
Hi-I want to create a shell script which should read a file line by line (file having email address and transaction id of each user)and send email on email ids with the transaction id of the user respectively.
Please help - I think a while loop should help but I am very new too UNIX Shell... (1 Reply)
Discussion started by: DeepSalwan
1 Replies
8. UNIX for Dummies Questions & Answers
all,
i am newbie to dns bind . Any help is very appreciated.
I am using dig command to view the records in the config. I am expecting the following comamnds to display all the A (Address records) in the zone data file.
my zone data file looks like this
-------------------
$ORIGIN .
$TTL... (2 Replies)
Discussion started by: sujathab
2 Replies
9. Shell Programming and Scripting
Hello,
If I run a program from within shell, the output is displayed in the command line terminal. Is there a way I can capture that output and choose only the very last string in it to send it to a new file?
Thank you (6 Replies)
Discussion started by: Lorna
6 Replies
10. Shell Programming and Scripting
I have this in my script:
DEBUG_DIR=/log/rotate_output
DEBUGLOG=${DEBUG_DIR}/rotate.${TIMESTAMP}
SERVER_FILE_LIST="\
wasint0206 /logs/squid_backup
wasint0201 /logs/squid_backup"
/usr/bin/echo "${SERVER_FILE_LIST}" | while read SERVER DIRECTORY
do
cd /log/squid_logs/${SERVER}... (2 Replies)
Discussion started by: LordJezo
2 Replies