Organizational Research By

Surprising Reserch Topic

Question:more:how to use more unix command on command line?


‘More’ is a command that shows you the contents of a file. You can also use ‘cat’ to view a file but ‘more’ will paginate it and give you some options. To begin reading a file:

more filename.txt

This will launch the ‘more’ program and you will see “–MORE–(#%)” at the bottom of your screen if your file has more lines than can fit on your terminal screen. Hitting the ‘Return’ key will move the screen down one line, ‘Spacebar’ will move a page forward, ‘b’ will move a page backward, ‘=’ will display your current line number, ‘v’ will launch the vi text editor (covered next) at the current line, ‘q’ will quit and ‘/’ will allow you to enter a regular expression to search for. Remember that a regex can be as simple as a plain string.

asked Sep 13, 2013 in LINUX by anonymous
edited Sep 12, 2013
0 votes

Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.