The following shell script adds entries to a file named journal-file in your home directory. This script helps you keep track of phone conversations and meetings.

$ cat journal
# journal: add journal entries to the file
# $HOME/journal-file


file=$HOME/journal-file
date >> $file
echo -n "Enter name of person or group: "
read name
echo "$name" >> $file
echo >> $file
cat >> $file
echo "----------------------------------------------------" >>
$file
echo >> $file

Computer Science & Information Technology

You might also like to view...

Describe the main advantages of using the prototyping approach when building a database system.

What will be an ideal response?

Computer Science & Information Technology

If your computer is thrashing, increase ________ to solve the problem

Fill in the blank(s) with correct word

Computer Science & Information Technology

Book method ______ returns an XML Element representing the book.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The ____ option on the Zoom Tool options bar shows the image at 100% magnification.

a. Actual Pixels b. Full Size c. Print Size d. Fill Screen

Computer Science & Information Technology