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
What is $$ in shell script?
What is command example?
What is the symbol of linux?
What is gnu in linux?
What is filter command in unix?
What are the ms dos commands?
what is the fastest way to enter a series of commands from the command-line in linux
What is cd command used for?
What is git command?
What are linux commands useful?
What is du command in linux?
Why is linux cpu usage so high?
How do you check which file consuming more space in linux?
What is $@ in bash?
How can I check the exit status of my previous command in Linux operating system?