Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to use the command more to see the content of a text file; however, the command is not available. I wonder whether all linux commands exist in cygwin. I am running cygwin on windows xp.

share|improve this question
    
iptables, tc, lsusb, depmod, and many, many more. –  Ignacio Vazquez-Abrams Jan 25 '11 at 7:41
    
Have you tried "less"? –  jwernerny Jan 25 '11 at 17:22
add comment

4 Answers

"more" is available in my install of Cygwin on XP, which I'm fairly sure is default. You need to make sure you have the "util-linux" package installed, which includes all sorts of useful utilities.

A full list of the packages is available at http://cygwin.com/packages/

share|improve this answer
add comment

"Yes"

Well, not really "all", but lots and lots.

However, Cygwin was an early pioneer of the package-based install, and because it doesn't have to actually run the host OS, more things are optional in Cygwin than in other Linux distros. The initial install is definitely a lot smaller.

So, you will find yourself going back to the installer more often on Cygwin, in oreder to drag in a package that just wasn't in the base system.

share|improve this answer
    
the answer is "no", and not a bold "yes" and then explaining that its only a "half-yes .. or maybe a 30% yes" ... –  akira Jan 25 '11 at 7:53
    
-1 @DigitalRoss you will small distros like Arch lack many commands that you would find in other larger distros like Ubuntu or RHEL. You will lose even more commands when working with specialty distros like DD-WRT –  ubiquibacon Jan 25 '11 at 21:08
add comment

No. All Linux commands don't even exist in all versions of Linux. I am not sure if your specific command exists in Cygwin, but if you cannot find it, it probably isn't there (though "more" is a pretty common command to be excluded).

share|improve this answer
    
It really depends how much or how little of Cygwin is installed. It's like many Linux distros where you can choose what packages you want to install. –  jwernerny Jan 25 '11 at 17:25
add comment

more is available in Cygwin if it's not in the default install. I prefer to use less myself.

To answer your question, "all" is awfully broad, but (very) many of the usual utilities are available in Cygwin.

share|improve this answer
    
well, less is more flexible and is way more useful than more. In that sense, less definitely is more –  inspectorG4dget Dec 17 '12 at 19:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.