alex_wang
alex_wang

Reputation: 209

Doesn't Cygwin provide the "more" command?

It's not available in my Cygwin. The "less" command is provided, on the other hand. Maybe the makers of Cygwin think that "more" is just redundant.

I'm curious about that.

Upvotes: 17

Views: 10569

Answers (3)

zzapper
zzapper

Reputation: 5043

Cygwin's installer setup.exe has a search box which allows you to search for utilities you need. Unfortunately this doesn't work if the utility is included in a Cygwin Package in this case you need to use the online search provided here:-

https://cygwin.com/packages/

More is in util-linux (see @joseph) which you can install by typing util-linux into the setup.exe search box (or just linux)

the other package I always need is cygutils-extra as it includes putclip & getclip

Upvotes: 0

Joseph Hui
Joseph Hui

Reputation: 587

Install the util-linux package and you will have "more"

http://cygwin.com/cgi-bin2/package-cat.cgi?file=util-linux%2Futil-linux-2.17.2-1

Upvotes: 25

Andrew Matthews
Andrew Matthews

Reputation: 3146

it does - type which more and you'll get something like this:

/usr/bin/more

If the more command is not available, you could define a symlink to /usr/bin/less, or define an alias. I have Cygwin v1.7.9 installed with literally everything included, it's possible that you have an older version partially installed that doesn't supply more. You can find out what version, you're using like so:

$ uname -a
CYGWIN_NT-5.1 ws-02615 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin

Upvotes: 2

Related Questions