Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

away(1) [debian man page]

away(1) 							   User Manuals 							   away(1)

NAME
away - terminal locking program SYNOPSIS
away [OPTIONS] message [...] DESCRIPTION
away is a simple program that locks your terminal, checks for new mail in any given number of mailboxes, and lets other users know why you are inactive. OPTIONS
-c, --mail Enable checking of mail. -C, --nomail Disable checking of mail. -f, --rcfile=FILE Specify an alternative configuration file instead of the default ~/.awayrc file. -F, --norcfile Ignore user configuration file. -h, --help Display help. -m, --message Execute as the remainder of the command line, effectively stripping off the executable name and additional switches. -p, --persist Continue checking for new mail as long as there is at least one mailbox that has not received new mail. -P, --nopersist Stop checking mail if any mailbox is found to have new mail. -t, --time=SECONDS Set the number of second that away sleeps before performing its background tasks. Presently, the only background task that away will perform is the checking of mailboxes. -T, --notime Ignore any options to set the time interval and use the default number of seconds. -v, --version Display version information. FILES
~/.awayrc Per user configuration file. See awayrc(5) for further details. /etc/pam.d/away The Linux-PAM configuration file. BUGS
Bug reports should be sent to the away mailing list <away@unbeatenpath.net>. SEE ALSO
awayrc(5) AUTHORS
Cameron Moore <cameron@unbeatenpath.net>, and others. Linux November 2000 away(1)

Check Out this Related Man Page

from(1) 						      General Commands Manual							   from(1)

NAME
from - Shows whom mail messages are from SYNOPSIS
from [-s sender] [user] The from command prints out the mail header lines in your mailbox file. OPTIONS
Prints headers for mail sent by sender. Specifies a mail spool directory. Use this flag if you want to examine a mailbox in a directory other than /usr/spool/mail, which is the system default. DESCRIPTION
If user is specified, then user's mailbox is examined instead of your own. EXAMPLES
To display the message headings in your mailbox, enter: from The names of the senders and the message dates are displayed. To display the message headings for mail sent by a specific user, enter: from -s dale Displays only the message headings of the messages sent from user dale. To display the message headings in a specific user's mail- box, enter: from dawn The message headings from user dawn's mailbox are displayed, provided you have read permission for dawn's mailbox. FILES
User mailbox files. SEE ALSO
Commands: biff(1), mail(1), mailx(1) from(1)
Man Page

11 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sending mail, status checking

After I send a mail thr unix with following command uuencode tmpFile | mailx -s "sub1" emailid Yet, I havent received this mail at intended mail client. In order to find out if the sent mail action resulted in failure, I checked at /usr/spool/mail/userid But there also I couldnt find... (1 Reply)
Discussion started by: videsh77
1 Replies

2. Shell Programming and Scripting

IF Loop

I am doing the following and it returns with unknown operator. I am basically checking the file size, if it not empty then i need to get an e-mail, otherwise just say NO errors in the file. Need help -------------------------------------------- COUNT = `wc -l output(filename)` if then mailx... (8 Replies)
Discussion started by: gundu
8 Replies

3. UNIX for Dummies Questions & Answers

sorting received mail in unix and another error

hello! when issuing the mail command to see my received mail, i get this error: (server)starla:/home/starla>mail Warning: Too many letters, overflowing letters concatenated msgcnt 27378 vxfs: mesg 001: vx_nospace - /dev/vg00/lvol4 file system full (1 block extent) mail: no space for temp file... (0 Replies)
Discussion started by: starla0316
0 Replies

4. UNIX for Dummies Questions & Answers

Trying to get mail working on a Linux machine

I tried using the mail command on one of our Linux machines to send email, and it works fine. I tried using the same command on another one of our Linux machines, and it didn't work (no error message was returned either). The machine that works has the following version information:... (2 Replies)
Discussion started by: sllinux
2 Replies

5. AIX

Forwarding already received mail?

Greetings to all of you. I am a tad desperate here. I have found MANY articles scattered across the internet from google searches and unix.com searches for how to forward mail that say: Create a ~/.forward file and put XXXX in it. This is not what I need to do. We have bunch of users... (1 Reply)
Discussion started by: DennisC31
1 Replies

6. UNIX for Dummies Questions & Answers

Basic number checking problem

Hello all I am having problems using a bash script to read the input from the user and checking that its a valid number. I only want the user to input a maximum of a 3 number string (321 , 521 , 871 etc.). Anything longer or that includes a chararcter or symbol will display an error message. ... (8 Replies)
Discussion started by: ChrisHoogie
8 Replies

7. Shell Programming and Scripting

Cron jobs and mail

Hi, I am new to this mail concept and cran jobs,i have given with a task to send a mail for every one hour from unix to my outlook by checking some sanitry checks kindly look the below queires and help me in this 1.)How to send a mail from unix box to outlook. 2.)I assigned to check a... (4 Replies)
Discussion started by: thelakbe
4 Replies

8. Shell Programming and Scripting

Script check for file, alert if not there, and continue checking until file arrives

All, Is there a way to keep checking for a file over and over again in the same script for an interval of time? Ie If { mail -user continue checking until file arrives file arrives tasks exit I don't want the script to run each time and email the user each time a file... (4 Replies)
Discussion started by: markdjones82
4 Replies

9. UNIX for Dummies Questions & Answers

e-mail from prompt

I was checking out this tutorial using cygwin. Geek to Live: Introduction to Cygwin, Part III - Scripts, packages and more My question is what packages do I download to e-mail from the command line? Thanks in advance. (2 Replies)
Discussion started by: jae99
2 Replies

10. Shell Programming and Scripting

Linux mail format problem

I am trying to use Linux mail command on red hat linux. It is working fine except when there is hardcoded "\n" characters in the file content i want to send. It is literally taking "\n" as text and message is not getting formatted to give newliine effect. I am using the following command: cat... (3 Replies)
Discussion started by: fundoo.code
3 Replies

11. Programming

Writing a search, copy and paste program

Hello, Can some one help me by writing me the script of a program that does the following simple functions on a Linux Mint: 1. it runs in the background all the time, doing nothing except of checking if there is any external device mounted. 2. when the device is detected, it copies files... (1 Reply)
Discussion started by: Black_Ardilla
1 Replies