최신 LPIC Level1 101-350 무료샘플문제:
1. You are trying to make a hard link to an ordinary file but ln returns an error. Which of the following could cause this?
A) The source file is a shell script.
B) The source file is hidden.
C) The source and the target are on different filesystems.
D) The source file is read-only.
E) You do not own the source file.
2. How can you update a package only if an earlier version is currently installed on the system?
A) rpm --force rpmname
B) rpm -u rpmname
C) rpm -U rpmname
D) rpm --update rpmname
E) rpm -F rpmname
3. 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?
A) rmdir '~bob/\bobsdir'
B) rmdir "~bob/\bobsdir"
C) rmdir ~bob/\\bobsdir
D) rmdir ~bob/\bobsdir
E) rmdir ~bob/'bobsdir'
4. In Bash, inserting 1>&2 after a command redirects
A) standard input to standard error.
B) standard output to standard input.
C) standard error to standard input.
D) standard output to standard error.
E) standard error to standard output.
5. Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)
A) find /tmp -user root -print
B) find /tmp -uid root -print
C) find -path /tmp -uid root
D) find -path /tmp -user root -print
E) find /tmp -user root
질문과 대답:
질문 # 1 정답: C | 질문 # 2 정답: E | 질문 # 3 정답: C | 질문 # 4 정답: D | 질문 # 5 정답: A,E |