09-24-2006
See your same post on tek-tips
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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)
Discussion started by: jaigs_27
0 Replies
2. AIX
Hi guys can someone show me on how to use DIAG command in determining if there is really a power problem aside from errpt report? (2 Replies)
Discussion started by: sky_lark02
2 Replies
3. UNIX for Dummies Questions & Answers
Hi:
How can I remove my own post?
Thanks. (2 Replies)
Discussion started by: phil518
2 Replies
4. Shell Programming and Scripting
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)
Discussion started by: wjssj
3 Replies
5. Shell Programming and Scripting
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)
Discussion started by: shis100
7 Replies
6. UNIX for Dummies Questions & Answers
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)
Discussion started by: shishong
14 Replies
7. UNIX for Dummies Questions & Answers
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)
Discussion started by: darocham
2 Replies
8. UNIX for Dummies Questions & Answers
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)
Discussion started by: rymnd_12345
7 Replies
9. UNIX for Dummies Questions & Answers
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)
Discussion started by: asjaiswal
2 Replies
LEARN ABOUT DEBIAN
alta-diag
ALTA-DIAG(8) System Manager's Manual ALTA-DIAG(8)
NAME
alta-diag - EEPROM setup and diagnostic program for ethernet cards based on the chip Sundance ST201 "Alta".
SYNOPSIS
alta-diag [options]
DESCRIPTION
alta-diag is a program that you can use to diagnose problems with ethercards based the Sundance ST201 "Alta" Chip as well as reconfiguring
it.
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.
-D Debug mode.
-q, --quiet
Be very unverbose.
-a, --all
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.
-# <cardnum>
Use card number <cardnum>.
-A, --Advertise <mediaype>
Advertise media type. Valid Options are: 10baseT, 100baseTx, 100baseTx-FD, 100baseTx-HD, 10baseT-FD and 10baseHD.
-F, --new-interface <interface>
Interface number. Options that make sense are: 10baseT, 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.
-t, --chip-type <type>
Use chip type. Only available option is "Sundance Technology Alta", but more may come.
-w, --write-EEPROM <values>
Write to the EEPROMS with the specified values. Do not use this, if you do not know what you do!
-# [card-number]
Specify card to work on.
-B Dumps the flash to the screen.
-L <file>
Load file and write it into the flash.
-S <file>
Saves the flash to a file. -t, --chip-type <card> Explicitly set the chip. To get all valid numbers, run alta-diag with the options
'-t -1'.
SEE ALSO
mii-diag(8)
AUTHOR
alta-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 ALTA-DIAG(8)