FACTOID # 10: Indians go out to the movies 3 billion times a year - much more than any other nation.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > Filter (Unix)

In UNIX and UNIX-like operating systems, a filter is program that gets most of its data from standard input and writes its main results to standard output. UNIX filters are often used as elements of pipelines.


The classic filter would be grep; here's an example:

 cut -d : -f 1 </etc/passwd | grep foo 

This finds all registered users that have "foo" as part of their username.


Common UNIX filter programs are: cat, cut, grep, head, sort, uniq and tail. Programs like awk and sed can be used to build quite complex filters because they are fully programmable.


A more complete list of UNIX filter programs:

  • awk
  • cat
  • comm
  • cut
  • expand
  • compress
  • fold
  • grep
  • head
  • nl
  • pr
  • sed
  • sh
  • sort
  • split
  • strings
  • tail
  • tee
  • tr
  • uniq
  • wc

See also: http://wiki.debian.net/index.cgi?filter


  Results from FactBites:
 
BIGpedia - Unix - Encyclopedia and Dictionary Online (2756 words)
UNIX is a portable, multi-tasking and multi-user computer operating system originally developed by a group of AT&T Bell Labs employees including Ken Thompson, Dennis Ritchie and Douglas McIlroy.
By 1993 most of the commercial vendors of UNIX had changed their commercial variants of UNIX to be based upon SVR4, and many BSD features were added on top.
The UNIX trademark and the certification rights were sold to the X/Open Consortium, which was an industry group to define a "UNIX Standard".
Filter (Unix) - Wikipedia, the free encyclopedia (199 words)
In UNIX and UNIX-like operating systems, a filter is program that gets most of its data from standard input (the main input stream) and writes its main results to standard output (the main output stream).
UNIX filters are often used as elements of pipelines.
The classic filter would be grep, which at it simplest prints to its output any lines containing a character string.
  More results at FactBites »


 
 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms, 1022, m