I’m used to UNIX commands such as grep, awk, sed, ls, cat, diff and so forth. I would like to run similar commands in the shell in Windows, when I open up “cmd”. I don’t want to have to install cygwin to do this.
Is there a site that I can download these UNIX commands (that run in the Windows environment) as “free shareware” ? Thanks.
You are talking about bash
You can’t use it in windows to my knowledge
I understand there might be some similarities between it and the windows command line.
And in windows all the slashes are the wrong way
Almost all (or even all) ported linux software for windows, e.g. wget for windows, are built using cygwin (cygwin dll actually) so basically you won’t be able to use the commands you like without cygwin.
There is also a free DOS (not sure which is it) version which comes with few linux commands/tools but you will also have to install something.
If I may suggest, you could just install a basic cygwin instead and get to use it. If you go for a more comfortable terminal I’d suggest rxvt.
No, the shell provides mechanisms for redirection/pipes etc but the tools sed, awk, cat etc are stand alone tools and have nothing to do with bash.
Yes, CMD.EXE also provides redirection and pipes and in adition more “online” commands, meaning commands that are implemented directly into the shell and not as stand alone tools, unlike the original design philosophy of *NIX.
OP: There are several windows ports of the standard *NIX tools. Try UnxUtils | Download UnxUtils software for free at SourceForge.net which is freely available and includes Microsoft C-Library native versions of sed, gawk etc. they can be used directly from CMD.EXE.