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 gnu in linux?
Which command is used to uncompress gzip files?
Which command puts a script to sleep untill a signal is recieved?
Main configuration file and command used for NFS enabling exported directories and deamons?
Where can I find bash in linux?
How do I stress test my cpu?
What is bash command?
Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.
What is the difference between kill and kill in linux?
How do you check which file consuming more space in linux?
What does touch do in linux?
If we transfer 100 files by ftp to remote server, how to know the files are successfully transfer or some file are not transferred?
Which of the Commands delete the files from the /tmp directory, issued by non-root user?
How do I know my shell?
What is the export command used for?