Linux Operating System Question:

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

Linux OS Interview Question
Linux OS Interview Question

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.


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.