LPI 102-500 Practice Test - Questions Answers
List of questions
Related questions
What output will the following command sequence produce? echo '1 2 3 4 5 6' | while read a b c; do echo result: $c $b $a; done
When the command echo $ outputs 1, which of the following statements is true?
What word is missing from the following SQL statement? insert into tablename ________(909, 'text');
(Please specify the missing word using lower-case letters only.)
Which command makes the shell variable named VARIABLE visible to subshells?
What output will the command seq 10 produce?
By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)
What word is missing from the following SQL statement?
__________ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)
After issuing: function myfunction { echo $1 $2 ; } in Bash, which output does: myfunction A B C Produce?
Which of the following commands puts the output of the command date into the shell variable mydate?
Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)
Question