Which one of the following commands is incorrect?

Trần Vũ

New member
Which one of the following commands is incorrect?
A. cat file01
B. cat > file01
C. cat >> file1
D. cat -a file01
 
Answer: d
Explanation: There is no such option as -a available with cat command.
Code:
 cat  file01		// display contents of file01
 cat > file01		// create a new file named 'file01'
 cat >> file1		// append to the file named 'file01'
 cat  -a file01		// invalid command
 

Tìm kiếm

Back
Top