Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #743
Difficulty: Medium
The AMD Optimizing C/C++ Compiler (AOCC) is a free, open source, optimizing compiler from AMD.
True or False?
Linux & Unix Commands - Search Man Pages

amin(1) [centos man page]

AMIN(1)                                                       General Commands Manual                                                      AMIN(1)

amin - notify writers that you are busy SYNOPSIS
amin [-ynesp] command [args...] DESCRIPTION
Amin is used when you don't want to be written while running a command. It runs the command given normally. If your message permissions (see mesg(1)) are off, it does nothing much else. If your messages are on, people writing you with write(1) will be warned that you are running that command and will be given the opportunity to change their minds about writing you. The -n option may be used to turn your messages entirely off for the duration of the execution of command. People writing you will get "Permission denied". The -y option turns your message permissions on for the duration of the execution of the command. The -e may be used after either -n or -y to indicate that the logins listed in the .yeswrite or the .nowrite files respectively are exceptions to the message permissions set. The default is -s which leaves your message permissions in their original state. In any case, after the command is com- plete, your permissions will be restored to the original state. The -p flag causes all telegrams sent to you while the command is running to be saved. They are displayed as soon as the command is com- plete. If used with the -n flag, writes are refused, but telegrams are still saved. If you have designated yourself as a helper, you will still be marked on the finger(1) output as a helper while you are running amin but people doing ``write help'' will not be connected to you, even if you have the helper flag set to ``Y''. AUTHOR
Jan Wolter FILES
/etc/wrttmp to find message permissions /etc/utmp to find user SEE ALSO
mesg(1), finger(1), write(1), huh(1). 7th Edition July 1, 1991 AMIN(1)

Check Out this Related Man Page

WRITE(1)						    BSD General Commands Manual 						  WRITE(1)

write -- send a message to another user SYNOPSIS
write user [tty] DESCRIPTION
The write utility allows you to communicate with other users, by copying lines from your terminal to theirs. When you run the write command, the user you are writing to gets a message of the form: Message from yourname@yourhost on yourtty at hh:mm ... Any further lines you enter will be copied to the specified user's terminal. If the other user wants to reply, they must run write as well. When you are done, type an end-of-file or interrupt character. The other user will see the message 'EOF' indicating that the conversation is over. You can prevent people (other than the super-user) from writing to you with the mesg(1) command. If the user you want to write to is logged in on more than one terminal, you can specify which terminal to write to by specifying the termi- nal name as the second operand to the write command. Alternatively, you can let write select one of the terminals - it will pick the one with the shortest idle time. This is so that if the user is logged in at work and also dialed up from home, the message will go to the right place. The traditional protocol for writing to someone is that the string '-o', either at the end of a line or on a line by itself, means that it is the other person's turn to talk. The string 'oo' means that the person believes the conversation to be over. SEE ALSO
mesg(1), talk(1), wall(1), who(1) HISTORY
A write command appeared in Version 1 AT&T UNIX. BUGS
The sender's LC_CTYPE setting is used to determine which characters are safe to write to a terminal, not the receiver's (which write has no way of knowing). The write utility does not recognize multibyte characters. BSD
July 17, 2004 BSD

Featured Tech Videos