The answer here is "cat" command that will show the entire file content but for a lesser size file, but "more" will show the content for the big file also also if the file is big it will show much text or data on the screen and should be more I suppose any comments ?
'more' is used for pagewise execution of big files. 'cat' will pour entire content of the big file on screen. Hence, it is not preferred in case of big files.
Please login to comment
8 Comments
Hi there,
what does more do exactly ,i have a big file 10 pages does it display number of pages or display page after page
could anyone explain it's function deeply
Upvote ShareHi,
more prints the content of the large files one page at a time.
Thanks.
Upvote ShareThis comment has been removed.
The answer here is "cat" command that will show the entire file content but for a lesser size file, but "more" will show the content for the big file also also if the file is big it will show much text or data on the screen and should be more I suppose any comments ?
1 Upvote ShareI thought the answer should be more? Why it's cat?
1 Upvote ShareHi @@disqus_MKxNurb1dM:disqus ,
cat command reads the file and write the file content to the standard output i.e. screen This is why it may cause too much text on the screen.
Hope this helps.
Thanks
Upvote ShareI thought 'more' does the same thing but for huge files. What does more do then?
Upvote Share'more' is used for pagewise execution of big files. 'cat' will pour entire content of the big file on screen. Hence, it is not preferred in case of big files.
Upvote Share