Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

from(1) [ultrix man page]

from(1) 						      General Commands Manual							   from(1)

Name
       from - identifies sender of mail

Syntax
       from [-f mailbox] [-s sender]

Description
       The command prints out the mail header lines in a mailbox file to show you who has sent mail to you.

Options
       -f mailbox	   Uses specified file instead of your normal mail file.  If this option is used, but file argument is not specified, read
			   your mbox file.

       -s sender	   Prints mail headers for mail sent by specified sender.

Files
       /usr/spool/mail/*

See Also
       mail(1)

																	   from(1)

Check Out this Related Man Page

BINMAIL(1)						      General Commands Manual							BINMAIL(1)

NAME
binmail - send or receive mail among users SYNOPSIS
/bin/mail [ + ] [ -i ] [ person ] ... /bin/mail [ + ] [ -i ] -f file DESCRIPTION
Note: This is the old version 7 UNIX system mail program. The default mail command is described in Mail(1), and its binary is in the directory /usr/ucb. mail with no argument prints a user's mail, message-by-message, in last-in, first-out order; the optional argument + displays the mail mes- sages in first-in, first-out order. For each message, it reads a line from the standard input to direct disposition of the message. newline Go on to next message. d Delete message and go on to the next. p Print message again. - Go back to previous message. s [ file ] ... Save the message in the named files (`mbox' default). w [ file ] ... Save the message, without a header, in the named files (`mbox' default). m [ person ] ... Mail the message to the named persons (yourself is default). EOT (control-D) Put unexamined mail back in the mailbox and stop. q Same as EOT. !command Escape to the Shell to do command. * Print a command summary. An interrupt normally terminates the mail command; the mail file is unchanged. The optional argument -i tells mail to continue after interrupts. When persons are named, mail takes the standard input up to an end-of-file (or a line with just `.') and adds it to each person's `mail' file. The message is preceded by the sender's name and a postmark. Lines that look like postmarks are prepended with `>'. A person is usually a user name recognized by login(1). To denote a recipient on a remote system, prefix person by the system name and exclamation mark (see uucp(1C)). The -f option causes the named file, for example, `mbox', to be printed as if it were the mail file. When a user logs in he is informed of the presence of mail. FILES
/etc/passwd to identify sender and locate persons /usr/spool/mail/* incoming mail for user * mbox saved mail /tmp/ma* temp file /usr/spool/mail/*.lock lock for mail directory dead.letter unmailable text SEE ALSO
Mail(1), write(1), uucp(1C), uux(1C), xsend(1), sendmail(8) BUGS
Race conditions sometimes result in a failure to remove a lock file. Normally anybody can read your mail, unless it is sent by xsend(1). An installation can overcome this by making mail a set-user-id command that owns the mail directory. 7th Edition April 29, 1985 BINMAIL(1)
Man Page

14 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Count the number of occurence of perticular word from file

I want to count the number of occurence of perticular word from one text file. Please tell me "less" command is work in ksh or not. If it is not working then instead of that which command will work. :confused: (40 Replies)
Discussion started by: rinku
40 Replies

2. Shell Programming and Scripting

Need Help for Adding Three new columns in existing file from fatching data from file

not required this time (36 Replies)
Discussion started by: Sandeep_Malik
36 Replies

3. Shell Programming and Scripting

URL call from SHELL script

My system does not have wget, curl and lynx. The chances are low that the SA would install them for me. Do I have any other way out? I need to invoke a few URL calls from my SHELL script. Thought of using a PERL script or writing a simple Java client, but that adds in more dependencies. Any... (37 Replies)
Discussion started by: chengwei
37 Replies

4. Shell Programming and Scripting

How to read n number of lines from a file

Hiii I am very new to shell scripting.This is my data file a.txt: 56 45.78 1000 11.23 76.89 45 34.56 23 3400 100 .......... Now i am must use shell scripting to read n number of lines from the file & from ts n number of lines i need to find greatest number among them & so on for... (44 Replies)
Discussion started by: varsha
44 Replies

5. Shell Programming and Scripting

How to extract url from html page?

for example, I have an html file, contain <a href="http://awebsite" id="awebsite" class="first">website</a>and sometime a line contains more then one link, for example <a href="http://awebsite" id="awebsite" class="first">website</a><a href="http://bwebsite" id="bwebsite"... (36 Replies)
Discussion started by: 14th
36 Replies

6. UNIX for Dummies Questions & Answers

Getting non unique lines from concatenated files

Hi All, Is there a way to get NON unique lines from 2 or more concatenated files? Basically I have several files which are very similar with the exception of few lines and I want to find out which lines are different in each file. Very simple example is file1 contains: 1 2 3 4 5file2... (122 Replies)
Discussion started by: pawannoel
122 Replies

7. Shell Programming and Scripting

Copy file to SD card from internal flash.

Hi, At first I have to say that I know nothing about Linux :( But I am looking for solution how to copy one file from internal Lowrnace HDS flash memory. Lowrance HDS is Linux based device. Here is the link for firmware update files for this unit. At the end of main firmware file there... (62 Replies)
Discussion started by: PouchX
62 Replies

8. Shell Programming and Scripting

Help in extracting fields from a file

I have an input file with contents like: 203969 OrdAcctCycChg USAGE_DAEMON1 203970 OrdAcctCycChg USAGE_DAEMON2 203971 OrdAcctCycChg USAGE_DAEMON3 203972 OrdAcctCycChg USAGE_DAEMON4 I need to extract variables in first column... (51 Replies)
Discussion started by: Rajesh Putnala
51 Replies

9. Shell Programming and Scripting

Need to delete large set of files (i.e) close to 100K from a directory based on the input file

Hi all, I need a script to delete a large set of files from a directory under / based on an input file and want to redirect errors into separate file. I have already prepared a list of files in the input file. Kndly help me. Thanks, Prash (36 Replies)
Discussion started by: prash358
36 Replies

10. Shell Programming and Scripting

passing argument from one function to another

Hi all, In the given script code . I want to pass the maximum value that variable "i" will have in function DivideJobs () to variable $max of function SubmitCondorJob(). Any help? Thanks #!/bin/bash ... (55 Replies)
Discussion started by: nrjrasaxena
55 Replies

11. Shell Programming and Scripting

Extract sequences of bytes from binary for differents blocks

Hello to all, I would like to search sequences of bytes inside big binary file. The bin file contains blocks of information, each block begins is estructured as follow: 1- Each block begins with the hex 32 (1 byte) and ends with FF. After the FF of the last block, it follows 33. 2- Next... (59 Replies)
Discussion started by: Ophiuchus
59 Replies

12. Shell Programming and Scripting

Want to extract certain lines from big file

Hi All, I am trying to get some lines from a file i did it with while-do-loop. since the files are huge it is taking much time. now i want to make it faster. The requirement is the file will be having 1 million lines. The format is like below. ##transaction, , , ,blah, blah... (38 Replies)
Discussion started by: mad man
38 Replies

13. Shell Programming and Scripting

Ranking data points from multiple files

I need to rank a large number of data points that exist in multiple files. My data points (Column 3) are based on unique values in columns 1 and 2. I need to rank the values that are in File 1, Column 3. For instance: Input File 1 AAA BBB 10 CCC DDD 16 EEE FFF 20 Input File 2 ... (47 Replies)
Discussion started by: ncwxpanther
47 Replies

14. What is on Your Mind?

New Icons Coming from Font Awesome

Finally making some progress on getting rid of the 10 year old buttons with modern day fonts and icons thanks to a responsive web design tutorial by Brad Traversy who's video pointed me to Font Awesome. The buttons and icons were pretty easy to implement but it too me a number of hours... (39 Replies)
Discussion started by: Neo
39 Replies