2. You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose

whatis

The whatis command displays a summary line from the man page for the specified command in Linux.

3. 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 in Linux OS.

5. Who owns the data dictionary in Linux?

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

6. 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.