최신Lpi LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 - 101-350무료샘플문제
문제1
CORRECT TEXT
You want to display all currently mounted file systems. Which command would you use? (Please enter only the command without arguments or options)
CORRECT TEXT
You want to display all currently mounted file systems. Which command would you use? (Please enter only the command without arguments or options)
정답:
mount, /bin/mount, df, /bin/df
문제2
To ensure that a running process continues to execute after you log out, the process should be started with what command?
To ensure that a running process continues to execute after you log out, the process should be started with what command?
정답: A
문제3
From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)
From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)
정답: C,D
문제4
Bob accidentally created the subdirectory \bobsdir in his home directory. He tried to remove the subdirectory with the command rmdir \bobsdir only to receive the error, "No such file or directory." . Which command will remove the directory?
Bob accidentally created the subdirectory \bobsdir in his home directory. He tried to remove the subdirectory with the command rmdir \bobsdir only to receive the error, "No such file or directory." . Which command will remove the directory?
정답: D
문제5
CORRECT TEXT
The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank with the single word only)
CORRECT TEXT
The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank with the single word only)
정답:
bus
문제6
CORRECT TEXT
Which program updates the database that is used by the locate command?
CORRECT TEXT
Which program updates the database that is used by the locate command?
정답:
updatedb, /usr/bin/updatedb
문제7
What command line redirection characters instruct the shell to read from the current input
source until a specific word, on a separate line and without any trailing spaces, is reached?
What command line redirection characters instruct the shell to read from the current input
source until a specific word, on a separate line and without any trailing spaces, is reached?
정답: B
문제8
In bash, inserting 2>&1 after a command redirects
In bash, inserting 2>&1 after a command redirects
정답: C
문제9
Which of the following command sets the Bash variable named TEST with the content FOO?
Which of the following command sets the Bash variable named TEST with the content FOO?
정답: C
문제10
Which directory contains additional information about installed packages?
Which directory contains additional information about installed packages?
정답: B
문제11
Which RPM command will output the name of the package which supplied the file /etc/exports?
Which RPM command will output the name of the package which supplied the file /etc/exports?
정답: E
문제12
CORRECT TEXT
Which command is used to enable disk quotas on a particular filesystem? (Provide only the command, with no options or parameters)
CORRECT TEXT
Which command is used to enable disk quotas on a particular filesystem? (Provide only the command, with no options or parameters)
정답:
quotaon, /sbin/quotaon
문제13
Which of the following commands will print the last 10 lines of a text file to the standard output?
Which of the following commands will print the last 10 lines of a text file to the standard output?
정답: A
문제14
When running the command
sed -e "s/a/b/" /tmp/file >/tmp/file
While /tmp/file contains data, why is /tmp/file empty afterwards?
When running the command
sed -e "s/a/b/" /tmp/file >/tmp/file
While /tmp/file contains data, why is /tmp/file empty afterwards?
정답: B