I want to extract a string from a line in a text file between two different characters:
for example:
:string"
I want to extract string. It has to be done in a one-liner. (11 Replies)
Hi All,
I have scenario as below,
I want to cut the characters and store it variable2.. and want to display the variable2.. as shown below...
eg: the size may differs , i am show just an example.....
numbers are not fixed in variable1..i want to extract characters and... (1 Reply)
Hi Guys!!!!!!!!!!!
How do we extract last 13 characters from a line
I/p:
.R1/new/sv902a.01.per
O/p:
sv902a.01.per
And the no of characters differs in each line..
Kindly help me out in this!!!!!!!!!!!
Thanks in Advance (4 Replies)
Hi,
how can i extract a data between two characters
input file is
abc efg hig - 99.4% (16337276 kB) used
efg klm - 47.1% (7734968 kB) used
hij - 99.4% (16341464 kB) used
klm -93.7% (15394516 kB) used
output should be
99.4 (5 Replies)
Dear gurus
I have several files with the following format filenameCCYYMMDD , that is the last 8 characters will be the date in CCYYMMDD format. eg FILENAME20110523 .
Could anyone please put me through on how to extract only the last 8 characters from the files.
I am thinking of using awk,sed... (2 Replies)
* hdisk99 U5791.001.9920BZ4-P1-C05-T1-W500507630E060C14-L401140BA00000000 IBM MPIO FC 1750
* hdisk100 U5791.001.9920BZ4-P1-C05-T1-W500507630E060C14-L401140BB00000000 IBM MPIO FC 1750
* hdisk185 U5791.001.9920BZ4-P1-C05-T1-W500507630E060C14-L401140A000000000 IBM MPIO FC... (2 Replies)
Hi All,
I am trying to extract only characters from a string value eg: abcdedg1234.cnf
How can I extract only characters abcdedg and assign to a variable.
Please help.
Thanks (2 Replies)
Discussion started by: abhi_123
2 Replies
LEARN ABOUT CENTOS
arp2ethers
ARP2ETHERS(8) System Manager's Manual ARP2ETHERS(8)NAME
arp2ethers - convert arpwatch address database to ethers file format
SYNOPSIS
arp2ethers
DESCRIPTION
arp2ethers converts file arp.dat in the current directory into ethers(5) format on stdout. Usually arp.dat is an ethernet/ip database file
generated by arpwatch(8). The arpwatch daemon in Debian will create different arp.dat depending on its configuration. All of them will be
available at /var/lib/arpwatch/.
FILES
/var/lib/arpwatch - default directory for arp.dat
arp.dat - ethernet/ip address database
SEE ALSO arpwatch(8), ethers(5), rarp(8), arp(8),
BUGS
Please send bug reports to arpwatch@ee.lbl.gov.
AUTHORS
Original version by Craig Leres of the Lawrence Berkeley National Laboratory Network Research Group, University of California, Berkeley,
CA.
Modified for the Debian Project by Peter Kelemen, with additions from Erik Warmelink.
The current version is available via anonymous ftp:
ftp://ftp.ee.lbl.gov/arpwatch.tar.gz
This manual page was contributed by Hugo Graumann.
ARP2ETHERS(8)