11-22-2002
It is 'not possible' because you can't grep for a number in a line and get a line without the number (as you have written the command). (not a networking puzzle, a grep issue)
That is the puzzle......... the output of the grep command is not possible.
5 More Discussions You Might Find Interesting
1. Cybersecurity
hi
if i do a portscan on my fbsd box, i got one port that i don't want to see it open
that's port 111, sunrpc, how can i close it?
and also my-sql port 1433 and port 1523 (cichild-lm)
tnx for your help!! (6 Replies)
Discussion started by: Stormpie
6 Replies
2. Filesystems, Disks and Memory
How can I check the architecture version on a sun box?
So far I've tried;
arch -k which gives
sun4u
and uname -a which gives
SunOS <hostname> 5.8 Generic_108528-22 sun4u sparc SUNW,Ultra-4
but nothing which definitively states sparc11 or 111 - any ideas? (2 Replies)
Discussion started by: mattd
2 Replies
3. Shell Programming and Scripting
suppose u have a file
ABC ADFA AFAF AGBA AHHAH
AJJA AJKA AJAJ AJAJA AJAJAJ
AHAB AAAJ AJAJA AKK AJAJAA
means gaps have to replaced and see also there will be gaps so output shud be
ABCADFAAFAFAGBAAHHAHAJJAAJKAAJAJAJAJAAJAJAJAHABAAAJJAJAAKKAJAJAA
Thanks (2 Replies)
Discussion started by: cdfd123
2 Replies
4. Shell Programming and Scripting
in a shell script, i hav a variable declared as "ABC-123".
i want to incriment th value ABC-123 by 1 so that the result will be
ABC-124.
Can anyone suggest a solution in shell scripting.. (4 Replies)
Discussion started by: pgmfourms
4 Replies
5. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
LEARN ABOUT XFREE86
zgrep
ZGREP(1) General Commands Manual ZGREP(1)
NAME
zgrep - search possibly compressed files for a regular expression
SYNOPSIS
zgrep [ grep_options ] [ -e ] pattern filename...
DESCRIPTION
Zgrep invokes grep on compressed or gzipped files. These grep options will cause zgrep to terminate with an error code:
(-[drRzZ]|--di*|--exc*|--inc*|--rec*|--nu*). All other options specified are passed directly to grep. If no file is specified, then the
standard input is decompressed if necessary and fed to grep. Otherwise the given files are uncompressed if necessary and fed to grep.
If the GREP environment variable is set, zgrep uses it as the grep program to be invoked.
EXIT CODE
2 - An option that is not supported was specified.
AUTHOR
Charles Levert (charles@comm.polymtl.ca)
SEE ALSO
grep(1), gzexe(1), gzip(1), zdiff(1), zforce(1), zmore(1), znew(1)
ZGREP(1)