All Posts

ComptiA Cloud+ 2023 Questions and answer - Part 20

Mary Mary Smith
03 Mar 2023
1 min
0

1. In order to display all currently mounted file systems, which of the following commands can be used? (Choose two correct answers.)(Select 2answers)

A) cat / proc / self / mounts
B) install
C) lsmounts
D) cat / proc / filesystems
E) free


2. Which of the following sequences vi editor to store the opened document and exit the editor? (Choose two correct answers.)(Select 3answers)

A) ESC: WQ!
B) esc ZZ
C) ctrl XX
D) ctrl: W!
E) esc ZZ


3. Which of the following commands to change the ownership of file.txt dan user and group staff?

A) chown dan -g file.txt staff
B) chown dan / Staff file.txt
C) chown dan -u -g file.txt staff
D) chown dan: staff file.txt
E) None


4. Each variable defines the directories where the Bash shell searches for executable commands?

A) PATHRC
B) BASHEXEC
C) bashrc
D) PATH
E) EXECPATH


5. Which of the following shell redirections write to the standard output and standard error output file named filename?

A) > Filename 2> & 1
B) 2> & 1> filename
C) 1 & 2> filename
D) >> filename
E) 1> & 2> filename


1. Right Answer: A,B
Explanation:

2. Right Answer: A,B,E
Explanation:

3. Right Answer: D
Explanation:

4. Right Answer: D
Explanation:

5. Right Answer: A
Explanation:

0 Comments
Leave a comment