Hello,
I am new in perl and in regular exprecion; so I am looking for help (or an experienced advise.)
The target is a triming spaces from a string: i.e., remove spases from begining and from end of a string.
One of main point of a searched solution is performance: for current task it is... (2 Replies)
I am trying to check if files staring with filename but ending with diffent dates e.g. filename.2011-10-25.
The code I am using is below
if
It works find only if one file is present but returns binary operator expected
when there are mulptiple files.
Please help me correcting it. I... (5 Replies)
I have a group of files that I need to be sorted by number. I have tried to use the sort command without any luck.
ls includes*
includes1
includes10
includes11
includes12
includes2
includes3
includes4
includes5
includes6
includes7
includes8
includes9
I have tried ls includes*... (6 Replies)
Hi
This is my first post and I'm just a beginner. So please be nice to me.
I have a couple of html files where a pattern beginning with "http://www.site.com" and ending with "/resource.dat" is present on every 241st line. How do I extract this to a new text file?
I have tried sed -n 241,241p... (13 Replies)
Hi,
I have numerous files which have data in the following format
A|B|123.|Mr.|45.66|33|zz
L|16.|33.45|AC.|45.
I want to remove decimal point only if it is last character in a number.
O/p should be
A|B|123|Mr.|45.66|33|zz
L|16|33.45|AC.|45
I tried this
sed -e 's/.|/|/g'
Problem... (6 Replies)
Hello,
Here is my text data excerpted from the webpage:
input
My target is to get:
What i tried is:
sed 's/.*\(connector\)/1/' input > output
but all characters coming before the word "connector" are deleted which is not good for me.
My question: (9 Replies)
im trying to search for a WORD in a file which
begins with a number
followed by a hypen
follwed multiple words
and end with a dot "."
and pront the entire line which matches the above.
Please note that there is a space at the begining of each line
i/p file
19458 00000-CONTROL-PARA.... (5 Replies)
Discussion started by: anijan
5 Replies
LEARN ABOUT LINUX
ipmiping
IPMIPING(8) System Commands IPMIPING(8)NAME
ipmiping - send IPMI Get Authentication Capabilitiy request to network hosts
SYNOPSIS
ipmiping [OPTION...] destination
DESCRIPTION
ipmiping uses the IPMI Get Channel Authentication Capabilities request datagram to elicit an IPMI Get Channel Authentication Capabilitiesl
response from a remote host. The utility can be used to verify if a remote host supports IPMI. The initial starting sequence number will be
randomized. ipmiping will return 0 to the environment if it receives atleast 1 response from the remote host. Otherwise, it exists with a
value of 1.
OPTIONS
The following options are available
-h Output help menu.
-V Output version.
-c count
Stop after sending count packets.
-i interval
Wait interval seconds between sending each packet. The default is to wait for one second between each packet.
-I interface address
Set source address to specified interface address. Argument may be numeric IP address or name of device.
-t timeout
Time to wait for a response, in seconds. Default is five seconds.
-v Verbose output.
-s num Specify an initial starting sequence number. The default is to use a random initial sequence number.
-d Turn on debugging.
-r version
Specify IPMI version. Available options are "1.5" and "2.0". Default is to use "1.5". Note that packets will always be sent with the
IPMI 1.5 protocol, but IPMI 1.5 vs IPMI 2.0 relevant fields will be communicated in the Get Channel Authentication Capabilities
datagram depending on user choice.
KNOWN ISSUES
It has been observed that some remote BMCs can get "confused" and delay packet responses if duplicate packets (with duplicate sequence num-
bers) are sent in succession very quickly. There is no known way to cleanly deal with a "confused" BMC other than the wait awhile.
Unlike ping(8), local network devicess (e.g. 127.0.0.1) cannot be "pinged".
REPORTING BUGS
Report bugs to <freeipmi-users@gnu.org> or <freeipmi-devel@gnu.org>.
COPYRIGHT
Copyright (C) 2007-2012 Lawrence Livermore National Security, LLC.
Copyright (C) 2003-2007 The Regents of the University of California.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
ORIGIN
Command and manpage based off ping(8).
SEE ALSO freeipmi(7), ping(8), rmcpping(8)
http://www.gnu.org/software/freeipmi/
ipmiping 1.1.5 2012-06-15 IPMIPING(8)