Answer Posted / hr@tgksolutions.com
To view the contents of a file under Linux, you can use the 'cat', 'less','more', and 'tail' commands. Depending on the file size and required information, each command has a specific use case.
'cat' displays the full file at once, 'less' and'more' allow for paginated browsing, and 'tail' displays the final few lines. Candidates should explain these differences. This demonstrates how adaptable they are in managing various situations.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you create a text file in linux terminal?
How do you clear the screen in linux?
How do I check command history?
why context switching time should be minimum? How it depends on hardware support?
What is type command in linux?
What does free command do in linux?
How do I permanently set ulimit in linux?
Which commands are used to set a processor-intensive job to use less cpu time?
Why bash is used in linux?
What is p command?
What does chmod do in linux?
What command would you use to check how much memory is being used by linux?
How do I find the linux version?
What is in mkdir command?
How do I test my cpu speed?