Linux command line Q&A

  1. You need to see the last fifteen lines of the files dog, cat and horse. What command should you use? 
    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.

  1. Who owns the data dictionary? 
    The SYS user owns the data dictionary. The SYS and SYSTEM users are created when the database is created.

  2. You routinely compress old log files. You now need to examine a log from two months ago. In order to view its contents without first having to decompress it, use the _________ utility. 
    zcat
     
    The zcat utility allows you to examine the contents of a compressed file much the same way that cat displays a file.

  1. You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine the location of the command being run? 
    which
     
    The which command searches your path until it finds a command that matches the command you are looking for and displays its full path.


Expected HR interview questions
1.Are your work practices similar or different from ours? (If Experienced)
2.Describe our (products/services).
3.Describe our company for me.
4.Describe our corporate environment for me.
5.Describe your work (methods/processes) in comparison to ours? (If Experienced)
6.Do our competitors do things that we should be doing?
7.Do you have any concerns about working here?
8.Do you have any questions about (our/this) company?
9.Do you know how long we have been in business?
10.Do you know what products we make?