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 Alsomail(1)from(1)
Check Out this Related Man Page
MAIL(1) General Commands Manual MAIL(1)NAME
mail - send or receive mail among users
SYNOPSIS
mail person ...
mail [ -r ] [ -q ] [ -p ] [ -f file ]
DESCRIPTION
Mail with no argument prints a user's mail, message-by-message, in last-in, first-out order; the optional argument -r causes first-in,
first-out order. If the -p flag is given, the mail is printed with no questions asked; otherwise, for each message, mail 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.
x Exit, without changing the mailbox file.
!command
Escape to the Shell to do command.
? Print a command summary.
An interrupt stops the printing of the current letter. The optional argument -q causes mail to exit after interrupts without changing the
mailbox.
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(1)).
The -f option causes the named file, e.g. `mbox', to be printed as if it were the mail file.
Each user owns his own mailbox, which is by default generally readable but not writable. The command does not delete an empty mailbox nor
change its mode, so a user may make it unreadable if desired.
When a user logs in he is informed of the presence of mail.
FILES
/usr/spool/mail/* mailboxes
/etc/passwd to identify sender and locate persons
mbox saved mail
/tmp/ma* temp file
dead.letter unmailable text
uux(1)SEE ALSO xsend(1), write(1), uucp(1)BUGS
There is a locking mechanism intended to prevent two senders from accessing the same mailbox, but it is not perfect and races are possible.
MAIL(1)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)