GIAC
GSNA · Question #268
GSNA Question #268: Real Exam Question with Answer & Explanation
The correct answer is D. cat data.txt.* > data.txt. The cat data.txt.* command will display both the splitted files, and the > command will redirect the output into a new data.txt file.
Question
John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux- based network. John is working as a root user on the Linux operating system. He wants to break a dat a.txt file, 200MB in size, into two files in which the size of the first file named data.txt.aa should be 150MB and that of the second file named data.txt.ab should be 50MB. To accomplish his task and to further delete the data.txt file, he enters the following command: split --verbose -b 150m data.txt data.txt. ; rm -vf data.txt Which of the following commands can John use to join the splitted files into a new data.txt file?
Options
- Avi data.txt.* > data.txt
- Bless data.txt.* > data.txt
- Cvi data.txt.*
- Dcat data.txt.* > data.txt
Explanation
The cat data.txt.* command will display both the splitted files, and the > command will redirect the output into a new data.txt file.
Community Discussion
No community discussion yet for this question.