How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Hi Guys,
I'm sorry but I can't find answer for this, what is the meaning of -s option in "if" statement on unix scipting. Please see sample below:
opath=/home/output
for i in N1 N2 N3 N4
do
echo $i
if
then
grep $i $opath/N5_CRAI > $opath/N5_$i.crai
chmod 777 $opath/N5_$i.crai
... (7 Replies)
Hi, What means "##*", "% *" in a variable??
I have this in the script that i'm reading:
...
read line
echo $line
echo ${line#* }
echo ${line##* }
echo ${line% * }
...
The first print:
DN: RCROOT ONRM_ROOT_MO SNW ONRM_ROOT_MO BSC BSCCC2 BTS ALTOHATILLONOR
The second print:... (2 Replies)
I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this:
$ look "string" "/home/patrick/filename.txt"
However, this gives me the following message:
"look: /home/patrick/filename.txt: File too large"
So, I have two... (14 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
I need to sort the following file by the rhdiskpower devices in the last column:
Total_MB Free_MB OS_MB Name Failgroup Library Label UDID Product Redund Path
1024 851 1024 OCRVOT1_0000 OCRVOT1_0000 System UNKNOWN ... (3 Replies)
while (my $row = $sth->fetchrow_arrayref) {
$var->{"@$row"}=" ";
}
Can anyone help me understanding above mentioned.
i) As per my knowledge $row is taking ARRAY Refernce from the database
ii) @$row is containing the value of 0th index of the array, testted the same.
but I am not able... (0 Replies)
MYSON-DIAG(8) System Manager's Manual MYSON-DIAG(8)NAME
myson-diag - EEPROM setup and diagnostic program for ethernet cards based on the Myson MTD803 chip.
SYNOPSIS
myson-diag [options]
DESCRIPTION
myson-diag is a program that you can use to diagnose problems with ethernet cards based on the Myson MTD803 chip.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is
included below.
-h, --help
Show summary of options.
-V, --version
Show version of program.
-v, --verbose
Verbose mode.
-q, --quiet
Be very unverbose.
-# <cardnum>
Use card number <cardnum>.
-a, --show_all_registers
Print all registers.
-e, --show-eeprom
Dump EEPROM contents to stdout.
-E, --emergency-rewrite
Re-write a corrupted EEPROM.
-p, --port-base <port>
Specify port to use.
-A, --Advertise <mediaype>
Advertise media type. Valid Options are: 10baseT, 100baseT4, 100baseTx, 100baseTx-FD, 100baseTx-HD, 10baseT-FD and 10baseHD.
-F, --new-interface <interface>
Interface number. Options that make sense are: 10baseT, 10base2, AUI, 100baseTx, 10baseT-FDX, 100baseTx-FDX, 100baseT4, 100baseFx,
100baseFx-FDX, MII and Autosense.
-H, --new-hwaddress <address>
Set card to a new hardware address.
-m, --show-mii
Dump MII management registers.
-R, --reset
Reset the transceiver.
-T, --test
Do register and SRAM test.
-w, --write-EEPROM <values>
Write to the EEPROMS with the specified values. Do not use this, if you do not know what you do!
-f, --force-detection
Try to identify the card, even if it is active.
-t, --chip-type <card>
Explicitly set the chip. To get all valid numbers, run myson-diag with the options '-t -1'.
SEE ALSO mii-diag(8)AUTHOR
myson-diag was written and is still maintained by Donald Becker <becker@scyld.com>. This manual page was written by Alain Schroeder
<alain@debian.org>, for the Debian GNU/Linux system (but may be used by others).
February 18, 2002 MYSON-DIAG(8)