
154
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-V, --version
Print the version information for fetchmail and display the
options set for each mail server. Perform no fetch.
-w n, --warnings n
When issuing warnings about oversized messages, wait n
seconds after each warning before sending another warning.
-Z nnn, --antispam nnn
Specify the SMTP error nnn to signal a spam block from the
client. If nnn is -1, this option is disabled. Multiple SMTP
codes may be given as a comma-separated list. By default,
fetchmail discards messages with error codes 571, 550, 501,
and 554.
fgconsole
fgconsole
Print the number of the current virtual console. For example, if you
are using /dev/tty1, the command would return 1.
fgrep
fgrep [options] string [files]
Search one or more files for lines that match the specified text
string. Exit status is 0 if any lines match, 1 if not, and 2 for errors.
fgrep is faster than normal grep searches, but less flexible: it can
only find fixed text, not regular expressions.
See grep for the list of available options. Also see egrep.
Examples
Print lines in file that don’t contain any spaces:
fgrep -v ' ' file
Print lines in file that contain the words in the file spell_list:
fgrep -f spell_list file
file
file [options] files
Classify the named files according to the type of data they contain.
file