Project 2 - File Management
Preparation
Objectives
- Manipuate files on your UNIX account
- Use the vi editor
- Understand symbolic links
- Understand how to find files on your system
Project Details
| Task
to be completed |
What
you need to submit via email |
|
Exercise in Chapter 4 (page 86)
skip the step asking you to print the file
|
copy of telnet session text |
|
Complete the following exercise:
- In your home directory, duplicate the file and directory
structure found in the following directory: /home/classes/php/unixclass
- Make sure the file permissions are also the same
as in the original directory
- Create a file in your home directory called "aboutme.txt".
The contents of this file should be your name and
email address, and anything else you want to put there.
Use vi to create the file.
Some relevant commands:
mv
cp
ln -s
ls
mkdir
cd
chmod
|
copy of telnet session text |
|
Answer the following questions (these are not related
to the above exercises):
- Which two directories on the server contain a file
named 'crontab'?
- What is an absolute path to the gawk programming
language utility (ie the executable file named 'gawk')
on your server? How did you find it?
- Is there more than one path to the gawk program?
How do you know?
- If so, is either of these a symbolic link? Where
is the "real" copy located?
|
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.
|