Linux Essentials (010-160) — Question 15

Which of the following commands output the content of the file Texts 2.txt? (Choose two.)

Answer options

Correct answer: A, E

Explanation

The commands 'cat 'Texts 2.txt'' and 'cat Texts\ 2.txt' correctly handle the space in the filename, allowing the content of the file to be displayed. The other options either use incorrect syntax or do not properly escape the space, making them invalid for this task.