CS010 Practice 1
Logging in, File system Basics, Editing
You should spend an hour today familiarizing yourself with using
the Unix command line, file system, and Emacs text editor.
- Log in and change your password. Remember the keys to a good
- A length of least 8 characters
- Uses both upper and lower case characters
- Includes numbers and punctuation
- Start Emacs.
- Create a .forward file by using the Open File command from the
Files menu to create a file called .forward. In this file, type
your Williams (non-CS) email address, ending with a carriage
return. Save the file using Save Buffer from the Files menu. At
your earliest convenience, send mail to your CS account to verify
that forwarding is working correctly.
- Record your findings to the suggested exercises below in Emacs
and save the results to a file.
- What files are in your home directory?
- What is the absolute pathname of your home directory?
- Use xman to find some interesting commands. For example,
- Find a command that displays a clock on your screen. (Then
display a clock.)
- Find a command to compare two text files showing you the lines
that differ. Use it to compare the file you are creating with its
- Find a command that will search through all your files looking
for files that match certain criteria (like Sherlock on the Mac or
Windows Find File). Use it to find all your files that have not
been modified in the last 24 hours. (Warning: This one is a bit
- Create a directory. Copy one of your files into the directory.
Now remove the directory. What commands did you need to do to
accomplish all of these?
- Use Emacs info (M-x info) to find a command that will spell
check the file you are creating. Now, run the spellchecker.
Bring comments and questions to class tomorrow.