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...

Which type of network spans multiple locations and connects multiple networks?

a.LAN b.MAN c.VPN d.WAN

Computer Science & Information Technology

The strategy of deadlock _________ is to design a system in such a way that the possibility of deadlock is excluded.

A) ?prevention ? B) ?detection ? C) ?diversion ? D) ?avoidance

Computer Science & Information Technology