Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GAQM Exam LCP-001 Topic 5 Question 62 Discussion

Actual exam question for GAQM's LCP-001 exam
Question #: 62
Topic #: 5
[All LCP-001 Questions]

Which of the following would do the same as the command cat < file1.txt > file2.txt?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Britt
15 days ago
This question is making me feel a little feline-y. I think I'll just go with C) cat
upvoted 0 times
...
Trinidad
16 days ago
Now, now, let's not get too cat-astrophic about this. I'm going to have to go with E) cp file1.txt>file2.txt. It's the only one that mentions 'cp', and we all know cats can't copy files.
upvoted 0 times
...
Mayra
17 days ago
I'm stumped. All these options look similar, but I'll go with A) cat < file1.txt file2.txt. It's got the 'cat' command, so it must be the right answer!
upvoted 0 times
...
Gail
26 days ago
Hmm, this is a tricky one. I'm going to go with D) cat file1.txt | file2.txt. It just feels right, you know?
upvoted 0 times
Brigette
1 days ago
User 3: I agree with Reta, B) cat file1.txt >file2.txt seems like the right choice.
upvoted 0 times
...
Reta
14 days ago
User 2: I'm not so sure about that. I believe it's A) cat < file1.txt file2.txt.
upvoted 0 times
...
Beth
16 days ago
User 1: I think the correct answer is B) cat file1.txt >file2.txt.
upvoted 0 times
...
...
Reynalda
2 months ago
I think the answer is B) cat file1.txt >file2.txt, as this command would redirect the contents of file1.txt to file2.txt.
upvoted 0 times
Alease
8 days ago
Actually, the correct answer is A) cat < file1.txt file2.txt. It would display the contents of file1.txt and append it to file2.txt.
upvoted 0 times
...
Leatha
21 days ago
No, that's not correct. It should be A) cat < file1.txt file2.txt.
upvoted 0 times
...
Robt
29 days ago
I think the answer is B) cat file1.txt >file2.txt, as this command would redirect the contents of file1.txt to file2.txt.
upvoted 0 times
...
...
Leatha
2 months ago
I'm not sure, but I think C) cat
upvoted 0 times
...
Dorathy
2 months ago
I agree with Dion, because the > symbol redirects the output of cat command to file2.txt
upvoted 0 times
...
Dion
2 months ago
I think the answer is B) cat file1.txt >file2.txt
upvoted 0 times
...