Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #1004
Difficulty: Medium
Hopper College at Caltech University was named in honor of Grace Hopper in 2017.
True or False?
Linux & Unix Commands - Search Man Pages

comsat(8) [bsd man page]

COMSAT(8)						      System Manager's Manual							 COMSAT(8)

NAME
comsat - biff server SYNOPSIS
/usr/libexec/comsat DESCRIPTION
Comsat is the server process which receives reports of incoming mail and notifies users if they have requested this service. Comsat receives messages on a datagram port associated with the ``biff'' service specification (see services(5) and inetd(8)). The one line mes- sages are of the form user@mailbox-offset If the user specified is logged in to the system and the associated terminal has the owner execute bit turned on (by a ``biff y''), the offset is used as a seek offset into the appropriate mailbox file and the first 7 lines or 560 characters of the message are printed on the user's terminal. Lines which appear to be part of the message header other than the ``From'', ``To'', ``Date'', or ``Subject'' lines are not included in the displayed message. FILES
/var/run/utmp to find out who's logged on and on what terminals SEE ALSO
biff(1), inetd(8) BUGS
The message header filtering is prone to error. The density of the information presented is near the theoretical minimum. Users should be notified of mail which arrives on other machines than the one to which they are currently logged in. The notification should appear in a separate window so it does not mess up the screen. 4.2 Berkeley Distribution November 16, 1996 COMSAT(8)

Check Out this Related Man Page

COMSAT(8)						    BSD System Manager's Manual 						 COMSAT(8)

NAME
comsat -- biff server SYNOPSIS
comsat [-l] DESCRIPTION
comsat is the server process which receives reports of incoming mail and notifies users if they have requested this service. comsat receives messages on a datagram port associated with the ``biff'' service specification (see services(5) and inetd(8)). The one line messages are of the form: user@mailbox-offset If the user specified is logged in to the system and the associated terminal has the owner execute bit turned on (by a ``biff y''), the offset is used as a seek offset into the appropriate mailbox file and the first 7 lines or 560 characters of the message are printed on the user's terminal. Lines which appear to be part of the message header other than the ``From'', ``To'', ``Date'', or ``Subject'' lines are not included in the displayed message. OPTIONS
The comsat program supports this option: -l The -l option turns on syslogd(8) log messages. FILES
/var/run/utmpx to find out who's logged on and on what terminals SEE ALSO
biff(1), inetd(8), syslogd(8). BUGS
The message header filtering is prone to error. The density of the information presented is near the theoretical minimum. Users should be notified of mail which arrives on other machines than the one to which they are currently logged in. The notification should appear in a separate window so it does not mess up the screen. comsat runs as root so that it can open the users maildrop. HISTORY
The comsat command appeared in 4.2BSD. 4.2 Berkeley Distribution June 4, 1993 4.2 Berkeley Distribution

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

biff

Hello all, I want a substitute for biff n. On my HP-UX i don't have biff.i got a substitute for biff (newmail).but don't know how to set biff n.pls help. thanks in advance, shilpa (5 Replies)
Discussion started by: informshilpa
5 Replies

2. UNIX for Dummies Questions & Answers

Paranoid about hackers

Hi all I noted something strange on my server. The get mesages on my terminal even when I am not logged on. What does this mean? I don;t remember the excact message but it looked like messages from my /var/log/messages. "Can't locate mod probe!" or something like that. I am trying to get the... (4 Replies)
Discussion started by: skotapal
4 Replies

3. UNIX for Dummies Questions & Answers

know who logged and logged out with their timings

being ordinary user (not having any administrative rights) can avail myself a facility to know who logged and logged out with their timings get popped onto my terminal as if it get echo 'ed... (3 Replies)
Discussion started by: vkandati
3 Replies

4. Shell Programming and Scripting

Script to check users logged out

Hi, Here is the script that I have written to check if a particular user is has logged out, and if yes, then a mail needs to be sent to the management the details of whatever has been captured by the script command. echo "The current users are:" who | awk '{print $1}' | sort > temp1 cp... (1 Reply)
Discussion started by: ggayathri
1 Replies

5. UNIX for Dummies Questions & Answers

User name on?

Hi! I need a script that does: Accepts a username as an argument; if one is not provided, asks for it; Checks to see if that user is logged on; Displays to the screen a message: either is logged on. or is not logged on. #!/bin/sh # Checks if user is online #... (2 Replies)
Discussion started by: JudoMan
2 Replies

6. BSD

Unable to process from lines (envelopes)

Hi, Some of the users on my freebsd server are getting the "unable to process from lines" error when accessing their mailbox. I've checked their mailbox and found that there was a blank line at the top of the mailbox. Everytime i remove it, it appears again sometime later. I've tried... (1 Reply)
Discussion started by: sc_king
1 Replies

7. Shell Programming and Scripting

HOMEWORK HELP - URGENT

im suppose to write a script that examine how many users are logged in the student server. if there are less than 10 logged in a message suppose to display that says "there are less than 10 users currently signed on" and if there are more than 10 logged in a message suppose to display that says... (1 Reply)
Discussion started by: BIGGDRE10
1 Replies

8. UNIX for Advanced & Expert Users

Need to see what ther Root users are doing while logged in to terminal

I have a server that i need to monitor what the .bash_history file for the root user already logged in to the server I am logged in as root and have another person logged on as root and i want to monitor what they are doing: root ? :0 2010-10-19 11:54 root + pts/1 ... (1 Reply)
Discussion started by: calicowboy54
1 Replies

Featured Tech Videos