c ls intro d 4 a With both input and output redirected grep Id c idlist b With

C ls intro d 4 a with both input and output

This preview shows page 1 - 3 out of 4 pages.

(c) $ ls intro? (d) 4. a. With both input and output redirected. $ grep \$Id < *.c > id_list b. With only input redirected. $ grep -i suzi < addresses c. With only output redirected. $ grep -il memo *.txt > memoranda_files d. Within a pipe. $ file /usr/bin/* | grep "Again shell script" | sort -r In whi ch of the preceding is grep used as a filter? Example d uses grep as a filter. Chapter 9 Chapter 9, pp. 356, Exercises 1,3,4,5,6,8 1.Explain the following unexpected result:
Image of page 1
2. You can give the name of the file containing the script as an argument to the shell (for example, sh scriptfile, where scriptfile is the name of the file containing the script).
Image of page 2
Image of page 3

You've reached the end of your free preview.

Want to read all 4 pages?

  • Fall '15
  • shuba
  • Windows PowerShell, Working directory, Alan Moos

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes