Linux Operating System Question:
Download Questions PDF

You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?

Answer:

tail -15 dog cat horse

The tail utility displays the end of a file. The -15 tells tail to display the last fifteen lines of each specified file.

Download Linux OS Interview Questions And Answers PDF

Previous QuestionNext Question
Who owns the data dictionary in Linux?You wish to create a link to the /data directory in bob's home directory so you issue the command ln /data /home/bob/datalink but the command fails. What option should you use in this command line to be successful.