Random Linux+ Question #37

Discussion in 'Linux+' started by tripwire45, Jul 20, 2005.

  1. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    180
    287
    You know that the pipe symbol ( | ) redirects the output of a command to another command or file such as:
    Code:
    ls -l | less
    funnels the output of the ls -l command which gives you a long list of the contents of the current directory to the less command which lets you navagate backwards and forwards through the list.

    You want to pipe the output of the "ls -l" command to both a file named "output" and to the screen at the same time. Of the selections below, which command will accomplish your task? Select only one answer.

    1. ls -l | redir output
    2. ls -l | send output
    3. ls -l | fork output
    4. ls -l | tee output
    5. ls -l | base output
    6. ls -l | pitch output

    Answer later.
     
    Certifications: A+ and Network+
  2. AJ

    AJ 01000001 01100100 01101101 01101001 01101110 Administrator

    6,897
    182
    221
    1 or 3 or.......

    no 1
     
    Certifications: MCSE, MCSA (messaging), ITIL Foundation v3
    WIP: Breathing in and out, but not out and in, that's just wrong
  3. Jellyman_4eva

    Jellyman_4eva Byte Poster

    213
    4
    34
    I am 100% confident on this!!

    It so has to be 4!!
     
    Certifications: MCDST, MCITP-EDST/EDA/EA/SA/ MCSA 2K3/2K8, MCSE+M 2K3/2K8, ISA/TMG, VCP3/4, CCNA, Exchange, SQL, Citrix, A+, N+, L+, Sec+, Ser+, JNCIA-SSL, JNCIS-SSL
    WIP: Lots
  4. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    180
    287
    Answer time. Jellyman has reason to be confident. The answer is 4.
     
    Certifications: A+ and Network+

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.