10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
What is GAWK equivalent to greps -B 5 -A 5?
zgrep -i "^oct 20" /var/log/syslog*|grep -iB 5 -A 5 'postfix\/pickup
/var/log/syslog.1.gz:Oct 20 01:55:01 elmo CROND: (mail) CMD (/usr/bin/python -S /usr/lib64/mailman/cron/gate_news)
/var/log/syslog.1.gz:Oct 20 02:00:01 elmo CROND: (mail) CMD... (5 Replies)
Discussion started by: metallica1973
5 Replies
2. Shell Programming and Scripting
I have to do grep -v in a perl script. I want to exclude blank lines and lines having visitor.
#grep -v visitor abc.txt |grep '.'
file:abc.txt
1340 not booked 16D:D9 tourist 8
1341 not booked 16C:D4 tourist 25
1342 not booked 16D:C4 visitor 7
1343 not booked 01C:D9 visitor 6
1344... (4 Replies)
Discussion started by: dynamax
4 Replies
3. Shell Programming and Scripting
Hi folks
I am not allowed to install GNU grep on AIX.
Here my code excerpt:
grep_fatal () {
/usr/sfw/bin/gegrep -B4 -A2 "FATAL|QUEUE|SIGHUP"
}
Howto the same on AIX based machine?
from manual GNU grep
‘--after-context=num’
Print num lines of trailing context after... (4 Replies)
Discussion started by: slashdotweenie
4 Replies
4. UNIX for Dummies Questions & Answers
Chaps,
We are migrating our corporate systems off Windows and Solaris to IBM AIX 6 using LPARs and VMWare across the board. One thing I'm not sure of is what is the AIX equivalent of IIS - the Internet Information Service? Do I need Apache web server (isn't that on Linux)?
Thanks in... (5 Replies)
Discussion started by: gmslater99
5 Replies
5. AIX
Hi All,
Does AIX has utility like ignite server to make remote os installation using image (2 Replies)
Discussion started by: jayannair
2 Replies
6. Shell Programming and Scripting
Guess the subject lines says it all.
What is the perl equivalent to grep -c
-c, --count
Suppress normal output; instead print a count of match-
ing lines for each input file. With the -v, --invert-
match option (see below), count non-matching lines.
... (6 Replies)
Discussion started by: popeye
6 Replies
7. UNIX for Advanced & Expert Users
iostat -e gives the soft, hard and transport error information in Solaris.
What is the equivalent command in the other flavors of Unix AIX HP Linux.
Thanks
Prasi (1 Reply)
Discussion started by: prasi_in
1 Replies
8. UNIX for Advanced & Expert Users
is there a snoop equivalent in other flavors of unix? for AIX IBM (1 Reply)
Discussion started by: jcasares
1 Replies
9. UNIX for Dummies Questions & Answers
I've tried the "UNIX Rosetta Stone" and googling to no avail, and ideas anyone? (3 Replies)
Discussion started by: sam_pointer
3 Replies
10. UNIX for Dummies Questions & Answers
hi , what are the ibm equivalent to the below commands. thanks
top
glance
ioscan (1 Reply)
Discussion started by: yls177
1 Replies