When using CentOS 7, what is the correct syntax to redirect the output of the ls command to a file named myReport?

A. ls -l *.* > myReport
B. ls /l *.* < myReport
C. ls -l < myReport
D. ls -l myReport


Answer: A

Computer Science & Information Technology

You might also like to view...

Which statement is false?

a. Unless directed otherwise, the computer executes Java statements one after the other in the order in which they're written. b. Activity diagrams normally show the Java code that implements the activity. c. Like pseudocode, activity diagrams help programmers develop and represent algorithms. d. The arrows in the activity diagram represent transitions, which indicate the order in which the actions represented by the action states occur.

Computer Science & Information Technology

What is the difference between the EXPLAIN command and the PROCEDURE ANALYSE() function?

What will be an ideal response?

Computer Science & Information Technology

Most Windows applications distributed on removable media have a(n) ______________ file that calls up the installation program.

A. upgrade B. update C. restart D. autorun

Computer Science & Information Technology

What is a basic service set (BSS)?

What will be an ideal response?

Computer Science & Information Technology