Problem

What is wrong with the following command string: ls /etc/hosts>listofhostfile? a. No...

What is wrong with the following command string: ls /etc/hosts>listofhostfile?

a. Nothing is wrong with the command.

b. The file descriptor was not declared; unless 1 for stdout or 2 for stderr is indicated, the command will fail.

c. The ls command is one of the commands that cannot be used with redirection. You must use | to pipe instead.

d. The file listofhostfile will always only contain stderr because a file descriptor was not declared.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 7