grep in cmd box

From: Tehiro (cest._---_.moi_at_eudoramail.com)
Date: 06/24/04


Date: 23 Jun 2004 16:57:45 -0700

hi everyone,
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".
Many thnx for any reply.
Tehiro



Relevant Pages

  • Re: Error: sh: cannot duplicate fd 31 to fd 0: Bad file descriptor
    ... The command string you're passing to systemcontains many features that suggest it's intended for a Unix-like system such as Linux, most particularly the 'ls' and 'grep' commands. ... You could have programs named 'ls' and 'grep' installed on your computer, but they are not a built-in part of Windows. ... If you want to learn what the Windows equivalents of 'ls' and 'grep' are, the best place to ask would be a Windows-specific newsgroup. ...
    (comp.lang.c)
  • Re: 3D POVRay animation
    ... Matt Giwer wrote: ... Windows is what you want to look at. ... It's a combination of Linux's grep and find. ... at the command line and read the docs. ...
    (comp.graphics.rendering.raytracing)
  • Re: grep in VIM?
    ... I use Tim Charron's Windows port of grep which includes subdirectory ... command:grep works just like ordinary grep does. ... running:windo grep pattern % creates quickfix list for each of the ...
    (comp.editors)
  • Re: Computer
    ... honestly don't know how you Windows users get along without grep. ... was forced to do work at the command line in Windows, ...
    (rec.photo.digital)
  • How do I remove the last line (Trailer line) in a file.
    ... In unix there is a command called grep that does similar things, what is the equivalent of this in Windows or for that matter how to do it. ...
    (microsoft.public.sqlserver.dts)