Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Doesn't Cygwin provide the "more" command?

Tags:

cygwin

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.

like image 991
alex_wang Avatar asked Aug 26 '11 05:08

alex_wang


People also ask

Is Cygwin same as Linux?

Cygwin is a collection of open source tools that allows Unix or Linux applications to be compiled and run on a Microsoft Windows operating system (OS) from within a Linux-like interface. Cygwin offers users a Linux-like experience in a Windows environment.

Why is Cygwin used?

Cygwin provides native integration of Windows-based applications. Thus it is possible to launch Windows applications from the Cygwin environment, as well as to use Cygwin tools and applications within the Windows operating context.

Is Cygwin a bash?

The Cygwin installation creates a Bash shell along with a UNIX environment by which you can compile and run UNIX-like programs. Using this one can even create an emulated X server on your windows box and run UNIX-like GUI software tools.


2 Answers

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

like image 87
Joseph Hui Avatar answered Sep 29 '22 05:09

Joseph Hui


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
like image 34
Andrew Matthews Avatar answered Sep 29 '22 05:09

Andrew Matthews