Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-09-2005, 06:59 AM   #1
Senior Member
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
stop bash checking mails at login

How do you stop bash checking your mail when you first login?

I have searched the web and found MAILCHECK, but that seems to be for something else - checking the specified mail files periodically, I have also found an option that prevents the mail check at login as well as displaying /etc/motd and last login information, but this isn't good enough because I want to have /etc/motd and last login information displayed
Old 09-09-2005, 08:00 AM   #2
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-current
Posts: 780

Rep: Reputation: 66
I think the following should work:

In /etc/profile you'll find the following:
# Notify user of incoming mail.  This can be overridden in the user's
# local startup file (~/.bash.login or whatever, depending on the shell)
if [ -x /usr/bin/biff ]; then
 biff y
Either comment it out, or you could make biff nonexecutable:
chmod -x /usr/sbin/biff
Hope this helps.

Cheers, Leon.
Old 09-09-2005, 08:33 AM   #3
Senior Member
Registered: Oct 2004
Posts: 1,192

Original Poster
Rep: Reputation: 101Reputation: 101

I had already commented out them lines, it was one of the first things I tried, I just forgot to mention it in my post - sorry


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I stop fsck from checking my drives. kponenation Slackware 7 08-03-2005 01:26 PM
how do i stop slack checking mutt mail when i log in? dive Slackware 1 07-19-2005 01:41 PM
Checking for a valid HTML link in Bash/Korn? Aziz Programming 1 11-30-2004 05:10 PM
Login Alert Mails Problem venkat_sde Linux - Newbie 2 08-28-2004 07:29 AM
stop forwarding packet after checking the message sent from PC 1 to PC 3 through PC@ becky_starr Programming 3 02-15-2004 12:02 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration