Get Full Version of the Exam
http://www.EnsurePass.com/LX0-104.html
Question No.1
What word is missing from the following SQL statement?
count(*) from tablename;
(Please specify the missing word using lower-case letters only.)
Correct Answer: select
Question No.2
When the command echo $$ outputs 12942, what is the meaning of 12942?
-
It is the process ID of the echo command.
-
It is the process ID of the current shell.
-
It is the process ID of the last command executed.
-
It is the process ID of the last command which has been placed in the background.
Correct Answer: B
Question No.3
By default, the contents of which directory will be copied to a new user#39;s home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)
Correct Answer: /etc/skel
Question No.4
What output will the following command produce?
seq 1 5 20
A. |
1 |
6 |
|
1 |
|
1 |
|
1 |
|
6 |
|
B. |
1 |
5 |
|
10 |
|
15 |
|
C. |
1 |
2 |
|
3 |
|
4 |
|
D. |
2 |
3 |
|
4 |
|
5 |
|
E. |
5 |
10 |
|
15 |
|
20 |
Correct Answer: A
Question No.5
What is the purpose of the file /etc/profile?
-
It contains the welcome message that is displayed after login.
-
It contains security profiles defining which users are allowed to log in.
-
It contains environment variables that are set when a user logs in.
-
It contains default application profiles for users that run an application for the first time.
Correct Answer: C
Question No.6
Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)
-
~/.bashconf
-
~/.bashrc
-
~/.bashdefaults
-
~/.bash_etc
-
~/.bash_profile
Correct Answer: BE
Question No.7
What output will the command seq 10 produce?
-
A continuous stream of numbers increasing in increments of 10 until stopped.
-
The numbers 1 through 10 with one number per line.
-
The numbers 0 through 9 with one number per line.
-
The number 10 to standard output.
Correct Answer: B
Question No.8
When the command echo $ outputs 1, which of the following statements is true?
-
It is the process ID of the echo command.
-
It is the process ID of the current shell.
-
It is the exit value of the command executed immediately before echo.
-
It is the exit value of the echo command.
Correct Answer: C
Question No.9
After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?
-
A B
-
A B C
-
A C
-
B C
-
C B A
Correct Answer: A
Question No.10
Which command makes the shell variable named VARIABLE visible to subshells?
-
export $VARIABLE
-
export VARIABLE
-
set $VARIABLE
-
set VARIABLE
-
env VARIABLE
Correct Answer: B
Get Full Version of the Exam
LX0-104 Dumps
LX0-104 VCE and PDF