QuestionQ33Verified/GNU and Unix CommandsCopy linkReport a problemAsk AstroTutorSave questionWhich command redirects the output of ls to standard error?Als >-1Bls <Cls >&2Dls >>2Els |errorShow AnswerAnswerExplanationFile descriptor 2 is standard error. The >&2 redirection sends the standard output produced by ls to that descriptor.Show comments3Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion