Which command is used to display all the lines with the string ‘sales’ from the file empl.lst ?

Software Engineering Mcqs

Which command is used to display all the lines with the string ‘sales’ from the file empl.lst ?

(A)  cut sales empl.lst

(B)  /sales > empl.lst

(C)  grep sales empl.lst

(D)  cat | /sales > empl.lst



Share this... Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Share on Whatsapp
Whatsapp

  • IF YOU THINK THAT ABOVE POSTED MCQ IS WRONG.

  • PLEASE COMMENT BELOW WITH CORRECT ANSWER AND ITS DETAIL EXPLANATION.

  • Related Mcqs


    Leave a Reply

    Your email address will not be published. Required fields are marked *