Linux Interview Questions

 
1.
What is Linux?
2.
You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?
3.
Who owns the data dictionary in Linux?
4.
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 in Linux
5.
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?
6.
You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose
7.
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.
8.
What is Linux?
9.
You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?
10.
Who owns the data dictionary in Linux?
11.
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 in Linux
12.
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?
13.
You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose
14.
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.
15.
What is Linux?
16.
You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?
17.
Who owns the data dictionary in Linux?
18.
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 in Linux
19.
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?
20.
You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose
21.
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.
22.
What is Linux?
23.
You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?
24.
Who owns the data dictionary in Linux?
25.
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 in Linux
26.
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?
27.
You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose
28.
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.