Which of the following commands will send the output of the cat command to the grep command to be filtered?

A. cat /etc/passwd | grep jsmith
B. cat /etc/passwd > grep jsmith
C. cat /etc/passwd >> grep jsmith
D. cat /etc/passwd @ grep jsmith


Answer: A

Computer Science & Information Technology

You might also like to view...

Redefine the IFS shell variable so the output of the second echo is the same as the first.

What will be an ideal response?

Computer Science & Information Technology

Use the ________ command to increase or decrease the viewing area on the screen

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following is not an example of good FTP server security?

A. Disable the anonymous FTP account. B. Use port 21. C. Change passwords regularly. D. Scan PHP files.

Computer Science & Information Technology

Match each item with a statement below.

A. Uses UDP datagrams and eliminates the session overhead B. Associates the protocol (Internet), the IP address (ANY) and the specific port number (7500) with a socket C. An input/output mechanism for network messages D. Requires a session to be established between the client and server E. Are required to use well-known port numbers on a server

Computer Science & Information Technology