Difference between cat and more command.The file contents are displayed by ‘cat’ command. The contents will scroll off the screeen, when the file contents are more than one screen page.
The file contents are displayed page by page with the use of ‘more’ command.
Examples cat linux.txt displays the contents of the file linux.txt ls –l | more
displays the file and directory names. Halts once the screen page is full and prompts to press a key to continue
|