Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #110
Difficulty: Easy
As of 2014, Apple's macOS was the largest Unix installed base globally.
True or False?
Linux & Unix Commands - Search Man Pages

biff(1) [osf1 man page]

biff(1) 						      General Commands Manual							   biff(1)

biff - Notifies users when mail arrives SYNOPSIS
biff [y | n] DESCRIPTION
The biff command informs the system whether you want to be notified when mail arrives during the current terminal session. The following command enables notification: biff y The following command disables notification: biff n When mail notification is enabled, the From: and Subject: header lines and up to the first five lines of the message are displayed. The total display is 560 characters, or seven lines terminated by newline characters, whichever occurs first. The biff y command is often included in the $HOME/.login or $HOME/.profile file to be executed each time you log in. The biff command operates asynchronously. For synchronous notification, use the MAIL variable of sh or ksh, or the mail variable of csh. EXAMPLES
To display the current setting, enter: biff To be notified during the current terminal session whenever mail arrives, enter the following in your $HOME/.login or $HOME/.profile file: biff y FILES
Read by login shell (after login. User profile. SEE ALSO
Commands: comsat(8), csh(1), ksh(1), mail(1), mailx(1), Bourne Shell sh(1b), POSIX Shell sh(1p) biff(1)

Check Out this Related Man Page

biff(1B)					     SunOS/BSD Compatibility Package Commands						  biff(1B)

biff - give notice of incoming mail messages SYNOPSIS
/usr/ucb/biff [y | n] DESCRIPTION
biff turns mail notification on or off for the terminal session. With no arguments, biff displays the current notification status for the terminal. If notification is allowed, the terminal rings the bell and displays the header and the first few lines of each arriving mail message. biff operates asynchronously. For synchronized notices, use the MAIL variable of sh(1) or the mail variable of csh(1). A `biff y' command can be included in your ~/.login or ~/.profile file for execution when you log in. OPTIONS
y Allow mail notification for the terminal. n Disable notification for the terminal. FILES
~/.login User's login file ~/.profile User's profile file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
csh(1), mail(1), sh(1), attributes(5) SunOS 5.11 14 Sep 1992 biff(1B)

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Limit backup files

Hello all, I am building a shell script. Every morning my shell script will trigger an external system backup script and the backup file (File Name format: "20030929backup.bkp" (i.e)current date + "backup.bkp") will be stored in the backup directory. After successful back, I need to keep only... (9 Replies)
Discussion started by: kjaisan
9 Replies

2. Shell Programming and Scripting

Need to attach a txt file while sending mail

Hi, I need to attach a txt file while sending mail thru Unix. Please help me out in this.. -Charan. (9 Replies)
Discussion started by: charan81
9 Replies

3. Shell Programming and Scripting

How to use mail,mailx command in Shell Script ?

Hi.. How can i use mailx,mail command in Shell Script. Suppose i gave a condition that x value is above 25 send a mail alert to How can i do this? Regards Sollin (16 Replies)
Discussion started by: sollin
16 Replies

4. Shell Programming and Scripting

shell script needed for mail queue notification

Hi shell experts, I would like to have a shell script running in a redhat server for monitoring the mailqueue status. I have already installed the qmHandle and I am using it to get a status of the mail queue in daily basis. I am executing the qmhandle in the cron. Now I am planning to execute... (10 Replies)
Discussion started by: Nightman
10 Replies

5. Shell Programming and Scripting

How to configure mailx command??

Hi, {SunOS} I have this mailx -s command in my script and when the script is run,it throws me this message The flags you gave are used only when sending mail. Usage:mailx -eiIUdFntBNHvV!~ -T FILE -u USER -h hops -r address -s SUBJECT -f FILE users. Can you help me how i can send an... (9 Replies)
Discussion started by: kumarsaravana_s
9 Replies

6. UNIX for Advanced & Expert Users

mailx command

hi, i want to pass a unix variable as the subject of the mail alongwith a string. My part of code is as below.. week_end_dt=`sqlplus -s<<EOF SET FEED OFF; SET TIMING OFF; SET HEADING OFF; SET PAGESIZE 500; SET LINESIZE 1000; select... (14 Replies)
Discussion started by: Jalkukdi@10
14 Replies

7. UNIX for Dummies Questions & Answers

mailx - mail ti ids containing ampersand

Hi I am trying to send mail to an email id having ampersand in it. Like abc.& But it is not being sent. I also tried prefixing backslash before and after ampersand Need Help:( (17 Replies)
Discussion started by: aniruddha.saha
17 Replies

8. Shell Programming and Scripting

Carbon copy for a mail in mailx command

Hi, Can you please anyone say how to send a mail with carbon copy using the mailx command. i.e the recipient list should be in CC while the mail reaches them. I need the option mailx command Thanks in advance. (11 Replies)
Discussion started by: miltony
11 Replies

9. Emergency UNIX and Linux Support

Getting last 50 lines after finding a word

Hi All, I have a requirement as below I need find for a string in a log file and once i found that string i need to send a mail.Thsi can be done thru grep and mailx cmnd. Here once i found the string i need to send last 50 lines(up) from where string found. Actually they require to find... (9 Replies)
Discussion started by: pssandeep
9 Replies

10. Shell Programming and Scripting

Shell Script to launch C program

Hi there, im new too shell scripting and was wondering if it is possible to create a shell script to take in a variable and load a c program. My C program is a file monitor, and is started by using the terminal and using to following code ./monitor FileToBeMonitored is it possible to have... (12 Replies)
Discussion started by: gazmcc182
12 Replies

11. Shell Programming and Scripting

replace space for enter

i have to print in a html file directories like this /home/user /home/user/dir but the problem is that when i us this comand listado=`find $direcreal -type f -print` i get this /home/user /home/user/dir1 i try with sed to replace the space with an enter mostrarlistado=`echo "$listado"... (9 Replies)
Discussion started by: pc03
9 Replies

12. Shell Programming and Scripting

mailx query

Hi, we are sending email after processing the file thorugh shell scripts(AIX OS) to set of users. we are using mailx command to achieve this. While sending the mail, from address use servername@domain, which we want to get rid of. We would like to use different name instead of. Any help... (12 Replies)
Discussion started by: cnraja
12 Replies

13. HP-UX

@ character has aberrant behavior

This has been bedeviling me. When I enter the @ character (not ^@) the following occurs: (1) at the csh prompt: nothing and the @ does not displya (2) within sqlplus - @ displays - it puts me on a new line (as if continuing the previous one) - if I try to complete the sql command it... (10 Replies)
Discussion started by: yirgster
10 Replies

14. UNIX for Dummies Questions & Answers

Mail not sent through terminal

The Mail not sent through terminal by using following command, mail -s " check "> msg.txt By listing the location of following ouputs,Please check this # ls -ld / /etc/ /etc/mail drwxr-xr-x 30 root root 4096 Sep 18 17:56 / drwxr-xr-x 89 root root 12288 Sep... (14 Replies)
Discussion started by: kannansoft1985
14 Replies

15. Shell Programming and Scripting

Insert an image in HTML mail sent from Shell script

Hi Shell Experts I am trying to insert an image into HTML email through shell script send mail, I have the email text file which included body and the images included in it in html format. Through my Shell script, I am calling the text file and send it through email so it it sends the email with... (21 Replies)
Discussion started by: anji009
21 Replies

Featured Tech Videos