Linux - Difference between cat and more command

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
Linux - What is ‘du’ command? What is its use?
What is ‘du’ command? What is its use? - The du (disk usage) command is used to report the size of directory trees......
Linux - Explain the various prompts that are available in a UNIX system
Explain the various prompts that are available in a UNIX system - UNIX supports 4 prompts - PS1: default prompt.......
Linux - Describe how the kernel differentiates device files and ordinary files
Describe how the kernel differentiates device files and ordinary files - There are 2 device files. They are character device file and block device file........
Post your comment