Homework #6 Writing a shell script using Emacs
- Log
into your CS Mac OS X account. (See more details in the section of How
to use PuTTY to log into the OS X server and work with the server as a
UNIX environment here.)
- Use
Emacs to edit a simple file. (See this
simple Emacs tutorial.)
- Edit a
simple shell script using Emacs. Your script should use at least one variables, one conditional, and one loop to accomplish
something. (See this tutorial
for more details on shell scripting.)
- Run
your script to make sure it works fine as you want.
- Email
me your script as an attachment and briefly explain the purpose of the script
and whether it works as you want.