Project 3 - Redirecting I/O
Preparation
Objectives
- Understand the use of filters and redirection
Project Details
| Task
to be completed |
What
you need to submit via email |
|
Exercise in Chapter 5 (page 96)
|
copy of telnet session text |
|
Exercise in the Additional Notes for lesson
4. (Note that this exercise is shell-specific and
may not work on all UNIX servers. It will work on the
ACC server)
|
copy of telnet session text |
|
Answer the following questions (these are not related
to the above exercises):
- Explain the difference between the following two
commands:
grep "hello" *
ls * | grep "hello"
- What command(s) would display an alphabetical list
of all users currently on the system? (Hint: you will
need to use a pipe and a filter)
- What command(s) would find the number of files in
the working directory that contain lines with the
word "balloon"? (Hint: the command should
produce number, not a list of files. You need to be
searching the file contents, not the names of the
files.)
- How could you use redirection to elminate the "permission
denied" messages on the screen when using the
find command? Go back and repeat question 1
of project 2
using this method.
|
answers |
Project Submission
In order to submit your project, you will need to be able
to copy the command results from your telnet session. You
can either copy the entire session or just the relevent parts.
Email the text from your telnet session, along with any other
information requested, to unix@iteachu.com
by the deadline date in the schedule.
|