Re: grep in cmd box

From: Bryan Dongray (btd_at_dongrays.com)
Date: 06/24/04


Date: Thu, 24 Jun 2004 03:41:57 GMT

Tehiro wrote:
> HOw to make my cmd box in Windows 2000 or XP to recognise grep in its commands?
> For instance to be able to issue such a command: netstat |grep 80.
> Right now, it gives me "grep' is not recognized as an internal or external command".

There are probably places to download a "grep" program.
If not, you can always download (if you haven't done so already) perl.
With perl you can do grep, eg:
        netstat | perl -n -e 'if ($_ =~ /80/) {print $_;}'
would probably work.

There's so much more you can do with perl though!



Relevant Pages

  • ~~> DOWNLOAD PERL <~~
    ... download perl for windows 2000 ... perl debugger gui windows download trial ... download rrd perl module red hat ...
    (rec.travel.europe)
  • >>> DOWNLOAD PERL <<<
    ... eclipse perl plugin download ... download perl 5.8.1 on windows ... perl module auto download file ...
    (sci.engr.semiconductors)
  • >>>> PERL DOWNLOAD <<<<
    ... active perl download, active perl download 5.8, active perl for ... windows download, active perl free download, activestate perl download ... module, download perl module uri, download perl modules, download perl ...
    (sci.math)
  • Re: FAQ 3.24 Can I write useful Perl programs on the command line?
    ... You should get your "head" out of Perl and get a little worldly. ... Usenet is a big "spam" buisness, ... Repeated huge, huge file size porno postings, identical and cycled, ... just to bust the per month max download per month. ...
    (comp.lang.perl.misc)
  • Re: Net::DNS
    ... function because you still use $rr within the foreach, ... > So I can find the all these object methods in the perl docs listed below? ... > the return value of 'grep'. ... > perldoc perlboot ...
    (perl.beginners)