CORRECT TEXT
In which directory must definition files be placed to add additional repositories to yum?
Answer: /etc/yum.repos.d, /etc/yum.repos.d/, yum.repos.d, yum.repos.d/
CORRECT TEXT
In which directory must definition files be placed to add additional repositories to yum?
Answer: /etc/yum.repos.d, /etc/yum.repos.d/, yum.repos.d, yum.repos.d/
Which of the following information is stored within the BIOS? (Choose TWO correct answers.)
A . Boot device order
B . Linux kernel version
C . Timezone
D . Hardware configuration
E . The system’s hostname
Answer: A,D
In Bash, inserting 1>&2 after a command redirects
A . standard error to standard input.
B . "Pass Any Exam. Any Time." – www.actualtests.com 19 standard input to standard error.
C . standard output to standard error.
D . standard error to standard output.
E . standard output to standard input.
Answer: C
Which of the following commands will reduce all consecutive spaces down to a single space?
A . tr ‘s’ ‘ ‘ < a.txt > b.txt
B . tr -c ‘ ‘ < a.txt > b.txt
C . tr -d ”< a.txt > b.txt
D . tr -r ‘ ‘ ‘
‘ < a.txt > b.txt
E . tr -s ‘ ‘ < a.txt > b.txt
Answer: E
Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
A . chown dan/staff file.txt
B . chown dan:staff file.txt
C . chown -u dan -g staff file.txt
D . chown dan -g staff file.txt
Answer: B
In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?
A . By using the command: repeat followed by the number and the command.
B . By specifying the number right in front of a command such as 4l or 2yj.
C . By selecting all affected lines using the shift and cursor keys before applying the command.
D . By issuing a command such as: set repetition=4 which repeats every subsequent command 4 times.
Answer: B
Which of the following commands updates the linker cache of shared libraries?
A . mkcache
B . soconfig
C . mkldconfig
D . lddconfig
E . ldconfig
Answer: E
Which of the following command sets the Bash variable named TEST with the content FOO?
A . set TEST="FOO"
B . TEST = "FOO"
C . var TEST="FOO"
D . TEST="FOO"
Answer: D
Which of the following commands is used to change options and positional parameters for a running Bash?
A . history
B . set
C . bashconf
D . setsh
E . envsetup
Answer: B
In compliance with the FHS, in which of the directories are man pages found?
A . /usr/share/man
B . /opt/man
C . /usr/doc/
D . /var/pkg/man
E . /var/man
Answer: A