07-27-2007
So lines that have the string "Real Value" should be extracted from the log file
awk '/Real Value/ { print }' logfile > to_be_exported_file
Now this file should be opened in excel application with ' | ' as the delimiter.
Is that what you are looking for ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
As the title descibes I wish to create an excel spreadsheet which lists all directories in full allong with the users, groups and rights.
I have not used Perl scripts before so I'm a little lost on this on.
Cheers (0 Replies)
Discussion started by: MacLon
0 Replies
2. AIX
We have windows clients that access drawing files shared from our AIX server using NFS. The Windows clients are intermittently unable to open files or access the system. For some reason restarting the rpc.lockd temporarily resolves the problem. However, that is the only clue I have to what the... (1 Reply)
Discussion started by: theologic
1 Replies
3. Shell Programming and Scripting
Hi,
I have several hundreds of text files which I would like to combine them onto excel sheet. Does anyone know how to combine them into different excel sheet in one workbook using Bash script?
Please advise. THanks.
I forgot to mention my file is something like below:-
A B ... (5 Replies)
Discussion started by: ahjiefreak
5 Replies
4. Linux
dear frnds,
i m very new linux environment & is looking to deploy squid proxy server using Fedora 9.
but i do not know anything abt all this. i have installed fedora in default mode & it has squid already installed. now i want to upgrade the squid to current version.
i tried to use yum to... (2 Replies)
Discussion started by: ondemandemails
2 Replies
5. Shell Programming and Scripting
We are trying to invoke a https service from our unix script using curl command. The service is not getting invoked because it is SSL configured. Bypassing certification (using curl –k) does not work.
curl -k https://site
curl -k -x IP:Port https://site
curl -k -x IP:443 https://id:pwd@site
... (0 Replies)
Discussion started by: dineshbabu01
0 Replies
6. Shell Programming and Scripting
On one of my servers, it appears that a bunch of html files got the following code added to it...
I was going to try to remove this line using grep & sed... as sample
grep -lr -e 'apples' *.html | xargs sed -i 's/apples/oranges/g'
I can get the grep portion to work...
grep "<script... (7 Replies)
Discussion started by: djlane
7 Replies
7. Shell Programming and Scripting
All,
I have an excel sheet Excel1.xls that has some entries.
I have one more excel sheet Excel2.xls that has entries only in those cells which are blank in Excel1.xls
These may be in different workbooks. They are totally independent made by 2 different users.
I have placed them in a... (1 Reply)
Discussion started by: Anamika08
1 Replies
8. Shell Programming and Scripting
Hi ,
i am generating some data by firing sql query with connecting to the database by my solaris box.
The below one should be the header line of my excel ,here its coming in separate row.
TO_CHAR(C. CURR_EMP_NO
---------- ---------------
LST_NM... (6 Replies)
Discussion started by: dani1234
6 Replies
9. Shell Programming and Scripting
Hi
My directory structure is as below.
dir1, dir2, dir3
I have the list of files to be deleted in the below path as below.
/staging/retain_for_2years/Cleanup/log $ ls -lrt
total 0
drwxr-xr-x 2 nobody nobody 256 Mar 01 16:15 01-MAR-2015_SPDBS2
drwxr-xr-x 2 root ... (2 Replies)
Discussion started by: prasadn
2 Replies
10. Shell Programming and Scripting
Hi All,
Do you have any sample script,
- auto get file from SFTP remote server and delete file in remove server after downloaded.
- only download specify filename
- auto upload file from local to SFTP remote server and delete local folder file after uploaded
- only upload specify filename
... (3 Replies)
Discussion started by: weesiong
3 Replies
PRADS(1) networking PRADS(1)
NAME
PRADS - Passive Real-time Asset Detection System
SYNOPSIS
prads -i eth1 -v
DESCRIPTION
PRADS is a Passive Real-time Asset Detection System.
PRADS employs digital fingerprints to recognize services on the wire, and can be used to map your network and monitor for changes in real
time.
Real-time passive traffic analysis will also let you detect assets that are just connected to the network for a short period of time, since
PRADS can glean useful information from every packet.
PRADS aims to be the one-stop-shop for passive asset detection, and currently does MAC lookups, TCP and UDP OS fingerprinting as well as
client and service application matching and a connection state table. Various output plugins include logfile and FIFO and make PRADS a use-
ful replacement for p0f, pads and sancp.
PRADS was built from the ground up for a small footprint and modern networks with IPv6 and gigabits of throughput.
OPTIONS
-i <iface>
Network device <iface> (default: eth0).
-r <file>
Read pcap <file>.
-c <file>
Read config from <file>
-b <filter>
Apply Berkeley packet filter <filter>.
-u <user>
Run as user <user>.
-g <group>
Run as group <group>.
-a <nets>
Specify home nets (eg: '192.168.0.0/25,10.0.0.0/255.0.0.0').
-D Enables daemon mode.
-p <pidfile>
Name of pidfile - inside chroot
-l <file>
Log assets to <file> (default: '/var/log/prads-asset.log')
-f <FIFO>
Log assets to <FIFO> -C <dir> Chroot into <dir> before dropping privs.
-XFRMSAK
Flag picker: X - clear flags, F:FIN, R:RST, M:MAC, S:SYN, A:ACK, K:SYNACK
-UTtI Service checks: U:UDP, T:TCP-server, I:ICMP, t:TCP-cLient
-s <snaplen>
Dump <snaplen> bytes of each payload.
-v Verbose output - repeat for more verbosity.
-q Quiet - try harder not to produce output.
-O Connection tracking [O]utput - per-packet!
-x Conne[x]ion tracking output - New, expired and ended.
-h This help message.
PROBLEMS
1. Doesn't detect everything out there :-P
SEE ALSO
o PRADS <http://prads.projects.linpro.no/>
o p0f <http://lcamtuf.coredump.cx/p0f.shtml>
o PADS <http://passive.sourceforge.net/>
BUGS
Report bugs here:
o http://github.com/gamelinux/prads/issues
For general questions:
o http://projects.linpro.no/mailman/listinfo/prads-devel
o http://projects.linpro.no/mailman/listinfo/prads-users
AUTHOR
Edward Bjarte Fjellskal <edwardfjellskaal@gmail.com>, Kacper Wysocki <comotion@users.sf.net>
COPYRIGHT
GPL
0.2 2010-06-17 PRADS(1)