Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

What is the difference between cat and more command in Unix?

4 like 0 dislike
Hello
What is the difference between cat and more command in Unix?
please reply me. i am waiting for your reply.
Thanx
asked 1 year ago by hunter (5,930 points)

3 Answers

0 like 0 dislike
Cat displays file contents. If the file is large the contents scroll off the screen before we view it. So command 'more' is like a pager which displays the contents page by page.
answered 1 year ago by eagles11 (179,830 points)
0 like 0 dislike
cat and more display file contents but file is larger so cat command the contents scroll off the screen before you view it but more command is like a pager so they display content page by page
answered 6 months ago by anonymous
0 like 0 dislike
the cat command concatenate the files where as the more command is not meant for merging the files.... and more over the cat command displays the contents of the file where as the more command displays the contents of the file page by page!!!!!!!!!  the syntax for cat : cat <filename>
the syntax for more: more<filename>
[not:we can also less in the place of more to get more details about the content of the file by page wise]
answered 3 months ago by anonymous

Related questions

7 like 0 dislike
1 answer
6 like 0 dislike
1 answer
asked 1 year ago by eagles11 (179,830 points)
7 like 0 dislike
1 answer
6 like 0 dislike
1 answer
4 like 0 dislike
1 answer