Which of the following commands can be used to format text files?
Suggested Answer: D
Get Premium GSNA Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
The pr command is used to format text files according to the specified options. This command is usually used to paginate or columnate files for
printing.
Answer B is incorrect. The ps command reports the status of processes that are currently running on a Linux computer.
Answer A is incorrect. The wc command is used to count the number of bytes, words, and lines in a given file or in the list of files.
Answer C is incorrect. The tail command is used to display the last few lines of a text file or piped data.
12 comments · newest first
ST
Stefania
11 months ago
Wait, can pr really format? I thought it just printed!
LE
Letha
11 months ago
Totally agree, pr is the right choice here!
LE
Leoma
12 months ago
wc just counts lines and words, not formatting.
MA
Malcom
12 months ago
I thought tail was for viewing file content, not formatting.
MI
Mirta
12 months ago
pr is definitely used for formatting text files.
CO
Coral
1 year ago
I’m pretty confident that "pr" is the right answer, but I wish I had reviewed more examples before the exam.
TR
Truman
1 year ago
I feel like "wc" counts words and lines, but it doesn't format text.
KI
Kina
1 year ago
I remember practicing with "tail" for viewing the end of files, but I don’t think it formats them.
TA
Tawanna
1 year ago
I think "pr" is the command used for formatting text files, but I'm not entirely sure.
ES
Estrella
1 year ago
Hmm, I'm a bit unsure about this one. The options seem to cover different aspects of the FATF Recommendations, but I'm not sure which one is the "key aspect" that describes the essential foundation for resource allocation. I'll have to think this through carefully.
BR
Brittani
1 year ago
I'm a bit confused by the wording of this question. What exactly do they mean by "discreet investigation"? Is that the same as back-grounding? I'm going to have to read through the material again to make sure I understand the key differences between the options.
MO
Mozelle
1 year ago
Ah, I see what's going on here. The attacker is trying to saturate the network's resources to prevent communications - that's the classic definition of a Denial-of-Service attack. I'm going to go with option A and move on to the next question.