Preview

Intro to Unix Project 2

Satisfactory Essays
Open Document
Open Document
636 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Intro to Unix Project 2
Colorado Technical University

Instructor Jeffery Scheetz

Phase 2

Individual Project

Intro to UNIX
CS126

Denver, Colorado
10/17/11

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 http://pangea.stanford.edu/computing/unix/shell/commands.php Retrieved from: Intro to UNIX http://www.december.com/unix/tutor/pipesfilters.html

You May Also Find These Documents Helpful

  • Satisfactory Essays

    NT1310 Unit 3 Homework

    • 1253 Words
    • 5 Pages

    tem. Each of these numbers identifies the command running in the background. It’s useful to know what jobs the program has completed and which ones are still running. The utility to use to run more than one command is “&”.…

    • 1253 Words
    • 5 Pages
    Satisfactory Essays
  • Powerful Essays

    NT1430 Lab2 Joy Brewer

    • 989 Words
    • 4 Pages

    2. Which of the following Linux utilities lists the names of files in a single directory?…

    • 989 Words
    • 4 Pages
    Powerful Essays
  • Good Essays

    operator → + | * | - | / | > | < | = etc.…

    • 703 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    3. This special character can be used to add one or more blank spaces between Web page content:  …

    • 335 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    It250

    • 272 Words
    • 2 Pages

    Which of the following symbols instructs the shell to redirect the output of a command to the specified file instead of the screen and overwrite the file?…

    • 272 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    14. What symbol instructs the shell to redirect the output of a command to the specified file ?…

    • 1070 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Unit 5 PT1420

    • 959 Words
    • 7 Pages

    The OR operator takes two Boolean expressions as operands and creates a compound Boolean expression that is true when either of the sub-expressions is true. The following is an example of an If-Then statement that uses the OR operator:…

    • 959 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    Linux Chapter 2

    • 288 Words
    • 2 Pages

    An installer is an application that installs a software or an operating system to a machine.…

    • 288 Words
    • 2 Pages
    Satisfactory Essays
  • Best Essays

    Linux Course Project

    • 2602 Words
    • 11 Pages

    In the workplace today there are many different options for operating systems be they providers of server related services or end-user desktops there is a different Linux distribution for many different applications. There are also a number of advantages and disadvantages to adding onto or switching network operating systems within a company. In the following pages I would like to discuss some of the different options available to us and what apparent advantages the offer along with their disadvantages. Many operating systems are fundamentally the same. Servers provide access to files and information stored remotely within the network, while workstations provide application support as well as connectivity to the World Wide Web. You might say that when we talk about network operating systems there are generally two sides to the coin in a large network. The side of the workstation and the end-user, and the side of the server providing cloud storage, e-mail, and other remote end-user services.…

    • 2602 Words
    • 11 Pages
    Best Essays
  • Satisfactory Essays

    3. In the forward() command, what does the number argument inside the parentheses do? (1.0 points)…

    • 290 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Questions On Caste System

    • 1024 Words
    • 5 Pages

    | Correct Answer: | replaces one kind of inequality with another. |…

    • 1024 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    5. You have forgotten the purpose of the -n option in the cat command. Which of the following can you enter at the Linux command line to find out what the -n option does when used with cat?…

    • 2601 Words
    • 11 Pages
    Good Essays
  • Good Essays

    Operating System

    • 1099 Words
    • 5 Pages

    3. Which of the following are examples of manipulation and transformation commands? (Choose all that apply.)…

    • 1099 Words
    • 5 Pages
    Good Essays
  • Good Essays

    PT1420 Assign. 10

    • 702 Words
    • 4 Pages

    Process the file – In this step data is either written to the file (if it is an output file) or read from the file (if it is an input file).…

    • 702 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Scripts

    • 1613 Words
    • 7 Pages

    To write a script, start a text editor (such as Notepad) or a script editor…

    • 1613 Words
    • 7 Pages
    Good Essays

Related Topics