LNEXT
ONELCLEAN
UTERMINAL
TERMINAL
NEXT
$V1$
HILINE
PAUSE
q - to quit, <CR> - to continue
NEWSFLAG
SOME OPTIONS
-f - causes msgs NOT to say "No new messages."
-h - causes msgs to print the first part of the
messages only.
-p - causes long messages to be piped through more
-q - queries whether there are messages, printing "There
are new messages" if there are. (msgs -q is often used
in login scripts.
GO
The command msgs is used to read system messages.
By convention these "news" items are the contents of the files
in the /usr/msgs directory.
The command msgs has the command line options as shown above.
Note for this practice: If there are no files in the /usr/msgs
directory, you will not be able to see the action of the msgs command.
Let us see the news items on
your system by typing the
msgs -q command:
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type msgs -q
Please type msgs -q
You will be helped this time!
$PROMPT$
FORGET1
msgs -q
Observe the result above.
posix (root) Tu Feb 10 14:28:48 1988
The POSIX (UNIX) Standards meeting is
scheduled for 4 P.M. next Wednesday.
All interested are invited to attend.
DOSJMP1
Let us see the files in the
/usr/msgs directory
on your system by using the
ls /usr/msgs command!
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type ls /usr/msgs
Please type ls /usr/msgs
You will be helped this time!
$PROMPT$
FORGET2
ls /usr/msgs
Observe the result above.
Note: If there is no news
you will see a blank screen.
att+mic
posix