02-15-2008
All one one line?
Is the text in the file
pub 5858D/58585255EF 2007-10-02 unicorn01516008 <uniccrn@fund.com>
sub 452659g/97974545df 2007-10-02 [expires: 2008-06-22]
all on one line? Thus, one line per license key entry?
and are these entries all within some file called xxx.txt?
10 More Discussions You Might Find Interesting
1. Solaris
Friends,
I am in search for a shell script that is capable of running as a cronjob and have to send out an email when ever there is a CORE DUMP.
Please post the hints to achieve my goal.
Thanks in advance. (1 Reply)
Discussion started by: rtatineni
1 Replies
2. Shell Programming and Scripting
Hi all,
I want to know how to send an email using shell script .....
I tried a command call mail but it did not work..
Please any one reply.. With example if you know thanks..
Madhu (4 Replies)
Discussion started by: madhumathikv
4 Replies
3. Shell Programming and Scripting
Hi,
Someone Knows how to obtein a chain from a unix file, but not all the line, for exemple, for this file ,obtein only 902111111 and to keep the value, this value will be used to make a mailx.
NF=ALL,
SUBJ=
FROM: SN=CD, SE=TOPCALL, NA=, N=902111111, N=TCLFI
TO: SE=FAX, NA=, C1=... (0 Replies)
Discussion started by: peybol
0 Replies
4. Shell Programming and Scripting
hi,
i have to send an email once a day at ceratin time say 22.
i have tried with date commad, but not working.:(
HOUROFTHEDAY=`date +'%H'`
if ; then
mailx -s "Info" emailid@org.com < $ProcessStatisticsFile
fi
Please help me... (5 Replies)
Discussion started by: sreelu
5 Replies
5. Shell Programming and Scripting
Hi All,
I am new to the unix , i have to deliver one script very urgently
I have to write a shell script where i have i want to send email to specific email id
in this script i want
FROM to be parameterized and stored in a variable
TO to be parameterized and stored in a variable... (3 Replies)
Discussion started by: nileshbhawsar
3 Replies
6. Shell Programming and Scripting
Hello ,
I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them .
I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies
7. Shell Programming and Scripting
Hi Friends,
Could you guys help me out of this problem... I need to send an email to all the users and the email has to be picked from the text file.
text file contains the no. of records like:
giridhar
224285
847333
giridhar276@gmail.com
ramana
84849
33884
venkata.ramana@gmail.com... (6 Replies)
Discussion started by: giridhar276
6 Replies
8. Shell Programming and Scripting
Hi Guys,
I have this script which will monitor oracle db process if up or down.And I want it to send email if it's down and the time it's back to online. However my script just keep on sending "Email Up" if the db is up or "Email Down" if the db is down.Is there any way to trap it so that it... (5 Replies)
Discussion started by: d3xt3r
5 Replies
9. Shell Programming and Scripting
This is my below script which is working fine as it send only plain text email.
So My question is- How can I modify my below script to send this as an HTML formatted email? I want to show the text color of this expression `(echo "100*$TEST2/$TEST1" | bc -l)` as `RED` in an email and that can be... (3 Replies)
Discussion started by: raihan26
3 Replies
10. Shell Programming and Scripting
Hello Experts,
Greeting to all of you.
I have a requirement, that we have a shell script status.sh
that check the status of server and server status shows as status.sh
Enterprise Server - Running
Admin Server - Shutdown
Requirement is like whenever the output shows shutdown it should... (2 Replies)
Discussion started by: aks_1902
2 Replies
LEARN ABOUT CENTOS
makedbm
MAKEDBM(8) NIS Reference Manual MAKEDBM(8)
NAME
makedbm - create or dump a ypserv database file
SYNOPSIS
/usr/lib/yp/makedbm [-a | -r] [-b] [-c] [-s] [-l] [-i YP_INPUT_NAME] [-o YP_OUTPUT_NAME] [-m YP_MASTER_NAME] inputfile dbname
/usr/lib/yp/makedbm -u dbname
/usr/lib/yp/makedbm -c
/usr/lib/yp/makedbm --version
DESCRIPTION
makedbm takes the inputfile and converts it to a ypserv database file. In the moment, GDBM is used as database. Each line of the input file
is converted to a single record. All characters up to the first TAB or SPACE are the key, and the rest of the line is the data. makedbm
does not treat `#' as a special character.
OPTIONS
-a
Special support for mail aliases. We couldn't use sendmail for it, since sendmail uses db, but ypserv gdbm as database format.
-b
Insert the YP_INTERDOMAIN into the output. This key causes ypserv(8) to use DNS for host name and address lookups for hosts not found
in the maps.
-c
send a YPPROC_CLEAR to the local ypserv(8). This causes ypserv to invalidate all cached entries.
-l
Convert the keys of the given map to lower case.
-i YP_INPUT_NAME
Create a special entry with the key YP_INPUT_NAME.
-m YP_MASTER_NAME
Create a special entry with the key YP_MASTER_NAME. If no master host name is specified, YP_MASTER_NAME will be set to the local host
name.
-o YP_OUTPUT_NAME
Create a special entry with the key YP_OUTPUT_NAME.
-r
Handle `#' as comment sign and remove the comment.
-s
Secure map. Accept connections from secure NIS networks only (reserved ports).
-u dbname
Dump a ypserv database file. Prints out the file in text format, one entry per line, with a single space separating keys from values.
--no-limit-check
Don't check for NIS key and data limit.
SEE ALSO
ypserv(8)
AUTHOR
makedbm was written by Thorsten Kukuk <kukuk@linux-nis.org>.
NIS Reference Manual 09/26/2007 MAKEDBM(8)