Intro to Unix Project 2

Topics: Unix, Pipeline, Standard streams Pages: 3 (636 words) Published: November 22, 2011
Colorado Technical University

Instructor Jeffery Scheetz

Phase 2

Individual Project

Intro to UNIX

Denver, Colorado

1- Description of filters: Is a small and usually specialized program in UNIX-like operating systems that transform plain text data in some meaningful way be used other filters and pipes to form a series of operations that produce highly specific results. The three standard files every filter uses are * Standard input.

* Standard output.
* Standard error.

2- Description of pipes: The symbol | is the Unix pipe symbol that is used on the command line. What it means is that the standard output of the command to the left of the pipe gets sent as standard input of the command to the right of the pipe. Note that this functions a lot like the > symbol used to redirect the standard output of a command to a file. However, the pipe is different because it is used to pass the output of a command to another command, not a file.

3- Description of redirection: Redirection is usually thought of in terms of redirection operators, which can be used to switch both the source and the destination of standard streams of data in commands. They can be classified as input, output, error and pipe. Redirection operators are formed mainly from three characters: the leftward pointing angle bracket ( < ), the rightward pointing angle bracket ( > ) and the vertical bar ( | ). In some cases the ampersand ( & ) and the numeral 2 are also used.

ls /etc
* In the first step, I typed this command ls /etc then hit enter. A huge list of all the files in alphabetical order popped out. when I typed ls, I asked to give me the lists of the files in the current directory.

ls /etc | grep conf

* Ls /etc | grep conf, when I entered that and hit enter, it replied that: “No such file or directory”. That means that I asked for a file name grep...

References: Retrieved from: School Of Earth of Sciences
Retrieved from: Intro to UNIX
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Unix Essay
  • Project Management Assignment 2 Essay
  • Portfolio Project Intro Criminal Justice Essay
  • Guide to Unix Chapter 2 Research Paper
  • Unix Essay
  • intro to humanities test 2 Essay
  • project Essay
  • Case Study 2 Green Computing Research Project Part 2 Essay

Become a StudyMode Member

Sign Up - It's Free