1.
A user brian is configured to use the bash shell. His home directory is /export/home/brian, and contains a
.profile and a .bashrc file.
In the -profile, there are these lines:
genius =ritchie
export genius
In the .bashrc us this line:
genius=kernighan
In /etc/profile are these lines:
genius=thompson
export genius
When brian logs in and asks for the value of genius, what will he find, and why?
2.
Consider the following commands:
rm file1
echo "Hello, world" > file2
cat file1 || file2
What is displayed when this sequence of commands is executed using the bash shell?
3.
You are logged in as root to a newly installed Solaris 11 system. You issue the command useradd d, and then
examine the /usr/sadm/defadduser file. This file includes the entry defshell=/bin/sh. Which shell will now be the
default for the next account created?
4.
You want to display network interface information. Which command should you use?
5.
Which two options accurately describe the network characteristics of a zone?
6.
To assist in examining and debugging running processes, Solaris 11 has a utility that returns pro arguments
and the names and values of environment variables. What is the name of this utility?
7.
Identify the correct description of an IPS image.
8.
You need to know the IP address configured on interface net3, and that the interface is up. Which command confirms these?
9.
You start to execute a program by using the following command:
~/bigscript &
You then determine that the process is not behaving as expected, and decide that you need to terminate the
process. Based on the information shown below, what is the process number you should terminate?
10.
You have installed the SMF notification framework to monitor services. Which command is used to up the
notifications for a particular service?