10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello.
For a given folder, I want to select any files find $PATH1 -f \( -name "*" but omit any files like pattern name ! -iname "*.jpg" ! -iname "*.xsession*" ..... \) and also omit any subfolder like pattern name -type d \( -name "/etc/gconf/gconf.*" -o -name "*cache*" -o -name "*Cache*" -o... (2 Replies)
Discussion started by: jcdole
2 Replies
2. Shell Programming and Scripting
Hi,
I am trying to extract some patterns from a line. The input file is space delimited and i could not use column to get value after "IN" or "OUT" patterns as there could be multiple white spaces before the next digits that i need to print in the output file . I need to print 3 patterns in a... (3 Replies)
Discussion started by: redse171
3 Replies
3. Shell Programming and Scripting
Hi folks,
I am working on assignment that captures all the records(2 columns one column contains names and other contain date of birth) from excel sheet stored in a directory and checks for current date and month.
If it matches current date and month then the matched records are printed as... (1 Reply)
Discussion started by: giridhar276
1 Replies
4. Shell Programming and Scripting
Hi,
This is a vcd file.A vcd file may have 'n' modules.
1) I need to capture the data in bold,i.e. the module names (shown in bold)
2) Also i need to capture the data inside each individual module,say for tst_bench_top ,i need to capture data from line 4 to line 20 ...
I just want one... (2 Replies)
Discussion started by: veerabahu
2 Replies
5. Red Hat
I have installed nethogs to see which process is sending load on the network. i would like to know how can i capture its data in a log file. Or is there is a unix command like script or tee which can help me to capture the data using cronjob (0 Replies)
Discussion started by: anshus1
0 Replies
6. IP Networking
Helo Folks :)
i had read an answer in this thread unixcom/programming/117551-calculate-ip-header-checksum-manually.html
i need to know what the software name that was used to capturing packet data in a network, just like the packet's capture output that showed up in the thread.
Thank you :)... (5 Replies)
Discussion started by: polutan
5 Replies
7. Shell Programming and Scripting
Hi everyone!
Can any one help me out regarding capturing relevant data from a file.
For e.g, if i want to capture the comment written after "Prompt:" for a particular date, like for this case what would be the command to capture the tag written after "Prompt:" for Date: 2009-03-20.
A... (7 Replies)
Discussion started by: muhmsida
7 Replies
8. Shell Programming and Scripting
Say I have data like shown below. I want all the data that contains XXXX and where it finds XXXX then I also want the Timestamp and the Error fields. I have tried egrep "XXXX|Timestamp" > test.txt. That pulls out the data correctly but gives me two records for each message and it also pulls the... (4 Replies)
Discussion started by: gugs
4 Replies
9. Shell Programming and Scripting
Hi guys,
I need a way to capture the host on the next-to-last hop in a traceroute output.
The last output is the destination but I need to capture the router just before the last hop.
I can do this in perl but I'm not so sure about Shell...
I'm on AIX 5.3 using ksh
any ideas?
... (3 Replies)
Discussion started by: TivoliGUY
3 Replies
10. UNIX for Dummies Questions & Answers
I have a file with some values in a tab delimted format
Eg:
'test' contains:
a<tab>b<tab>c<tab>Trk_12345678
now i need to capture this value 'Trk_12345678' into a variable say 'x' and append that value of 12345678 to 12345679 and store is back to a new 'test1' file as :
'test1'... (11 Replies)
Discussion started by: shiroh_1982
11 Replies