pavement

More

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by 192.18.100.50 (Talk); changed back to last version by Jimbo)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[more]] is a pager; it does the same thing that '''type <filename> | more''' does in MS DOS: it shows you the output of the file for a screen-length, and then gives you the option to view more by pressing the spacebar for another page or "enter" for another line.  (The arrow keys, page up, and page down also work as expected.  Pressing '''q''' for Quit exits the pager without displaying any more of the file.)
+
[[more]] is a pager; it does the same thing that '''type <filename> | more''' does in MS DOS: it shows you the output of the file for a screen-length, and then gives you the option to view more by pressing the spacebar for another page or "enter" for another line.  (The arrow keys, page up, and page down also work as expected.  Pressing '''q''' for Quit exits the pager without displaying any more of the file.) Older versions of [[more]] did not let you go up with the up-arrow key, this was one of the improvements of [[less]] -- and was eventually ported to more.
  
compare to [[less]]
+
Most commonly used as the target of a redirection; for example '''cat /etc/fstab | more''' or '''ps ax | more'''.
  
[[Category:Windows Equivalents]]
+
[[Category:System Commands]][[Category:Windows Equivalents]]

Latest revision as of 16:55, 2 November 2007

more is a pager; it does the same thing that type <filename> | more does in MS DOS: it shows you the output of the file for a screen-length, and then gives you the option to view more by pressing the spacebar for another page or "enter" for another line. (The arrow keys, page up, and page down also work as expected. Pressing q for Quit exits the pager without displaying any more of the file.) Older versions of more did not let you go up with the up-arrow key, this was one of the improvements of less -- and was eventually ported to more.

Most commonly used as the target of a redirection; for example cat /etc/fstab | more or ps ax | more.

Personal tools