Re: grep in cmd box

From: Florian Heigl (florian.heigl_at_gmx.de)
Date: 07/13/04


Date: 13 Jul 2004 14:51:12 -0700

cest._---_.moi@eudoramail.com (Tehiro) wrote in message news:<f4a43bd5.0406231557.58b19fcc@posting.google.com>...
> 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

F1 is Your friend.

C:\[...]>netstat -na | findstr ABH
  TCP 0.0.0.0:111 0.0.0.0:0 ABHÖREN
  TCP 0.0.0.0:135 0.0.0.0:0 ABHÖREN
  TCP 0.0.0.0:445 0.0.0.0:0 ABHÖREN
  TCP 0.0.0.0:1027 0.0.0.0:0 ABHÖREN
  TCP 0.0.0.0:1031 0.0.0.0:0 ABHÖREN
  TCP 0.0.0.0:1034 0.0.0.0:0 ABHÖREN

regards,
florian



Relevant Pages

  • Re: grep in cmd box
    ... > HOw to make my cmd box in Windows 2000 or XP to recognise grep in its ... This sounds like something that should be asked in a Windows newsgroup. ...
    (comp.unix.misc)
  • Re: Script to extract documentation from CMD.EXE & COMMAND.COM
    ... A wrapper for CMD help of Windows XP/2000. ... Temporaries files are used in the same directory ... list the internal commands of these two executables and perhaps also list ...
    (microsoft.public.scripting.vbscript)
  • Re: System Information Unavailable on XP Pro
    ... Bill, ... Open a Command Prompt window and enter the following commands, ... > You can see I'm multibooting, where WinXP is on partition ... >>> received the reply, "The Windows Management ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Bigloo vs. Python, features (was Re: Typed Python?
    ... in the C++ world there is "Putting Metaclasses ... the MOP is not the same as AOP: the MOP is a general framework which ... the "cmd" module in the standard library. ... I had only few commands, it was useful for me to have one-letter aliases: ...
    (comp.lang.python)
  • Re: Thanks Everyone
    ... All I was able to do was do simple dos commands, ... Windows hadn't loaded, I was hoping I was in the Command Prompt and that I ...
    (microsoft.public.windowsxp.general)