As a root user you execute the commands as shown below:
[root@station1]# a=$((10 % 4 + 6 * 2))
[root@station1]# echo $a
What would be the output of the echo statement?
Answer : C
You executed the following command to verify the integrity of sendmail:
[root@station1 ~]# rpm -Va sendmail
.......T. c /etc/mail/sendmail.cf
S.5....T. c /var/log/mail/statistics
[root@station1 ~]#
What do infer about the /var/log/mail/statistics file from the output?
Answer : D
You have the copy of all the rpms in the /RPMS directory on your local Linux machine.
After logging in as root and changing to the /RPMS directory, you try to install the mysql package using the rpm command. You end up with an error message as shown below:
Error: Failed dependencies: Perl(DBI) is needed by mysql.
How would you overcome this error and install mysql successfully by resolving the dependencies?
Answer : B
View the Exhibit.
As bob you have logged in at the tty1 terminal and run the commands as shown in the
Exhibit. You want to list the background jobs in the current terminal and issue the jobs command.
Which statement is true in this context?
Answer : B
You have opened three terminals and the Firefox browser at Graphical User Interface
(GUI). How can you ensure that the same applications and windows start on your next login to GUI?
Answer : D
The user smith , whose primary group is smith, would like to create a file in his home directory, which belongs to the group apps.
Which two statements are correct? (Choose two.)
Answer : C,D
Which system help facility gives the help page exactly as using -k switch with man?
Answer : C
Where do the manual (man) pages for all commands reside in the File System Hierarchy
(FSH)?
Answer : A
Match the mpage options with their functionalities.
1. mpage -r a. toggle printing on both sides of the paper (duplex mode)
2. mpage -t b. print in landscape mode instead of the default portrait
3. mpage -l c. reverse the order in which the pages are printed
Answer : A
What are the extra features that the Bourne Again Shell (bash) has compared to the
Bourne Shell (sh)? (Choose all that apply.)
Answer : D,E,F
Match the following arguments with their actions when used with the find command:
1) -print a) Allows a command to be run against each matching file
2) -ls b) Is the default action and displays matches
3) -exec c) Displays full details on matches
4) -ok d) Can be used when you want a confirmation prompt
Answer : A
Which statement is true about the privileges granted to a user with the UID of 0?
Answer : D
View the Exhibit.
As the user bob, you list all the background jobs using the jobs command. You want to bring the last job stopped into the foreground. Which three commands would you use to achieve this task? (Choose three.)
Answer : A,C,F
Why is a Linux operating system always developed and released under a common standard known as Linux Standard Base (LSB)?
Answer : D
Match the following Regular Expression Character classes with their class descriptions:
1) [:alnum:] a) match all control characters
2) [:alpha:] b) match all printable characters (not including space)
3) [:graph:] c) match all letters and digits
4) [:print:] d) match all letters
5) [:cntrl:] e) match all printable characters
Answer : D