QuestionQ179

VerifiedEssential Commands

Which statement is accurate about the command foo 1> bar?

Explanation

File descriptor 1 is standard output. Redirecting it with > writes foo’s standard output to bar, creating the file if necessary and truncating any existing contents.

Community Discussion

No comments yet. Be the first to start the discussion!