Random Linux+ Question #34

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

  1. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    180
    287
    You are working with variables and have learned that there are shell variables and environment variables. You know that shell variables control the behavior of the shell itself while environment variables affect programs running outside the current shell. Some common environment variables are PATH, HOME, and USER. What command can you give that will produce a list of all variables no matter what type? Choose only one answer.

    1. list
    2. shell
    3. env
    4. history
    5. export
    6. set
     
    Certifications: A+ and Network+
  2. AJ

    AJ 01000001 01100100 01101101 01101001 01101110 Administrator

    6,897
    182
    221
    bigger guess at 3
     
    Certifications: MCSE, MCSA (messaging), ITIL Foundation v3
    WIP: Breathing in and out, but not out and in, that's just wrong
  3. nugget
    Honorary Member

    nugget Junior toady

    7,796
    71
    224
    I'll go for 2.:oops:
     
    Certifications: A+ | Network+ | Security+ | MCP (270,271,272,290,620) | MCDST | MCTS:Vista
    WIP: MCSA, 70-622,680,685
  4. starfury6

    starfury6 Nibble Poster

    53
    0
    33
    I'll guess at 1
     
    Certifications: RHCT4, RHCT5
    WIP: SCSA
  5. Phoenix
    Honorary Member

    Phoenix 53656e696f7220 4d6f64

    5,749
    200
    246
    5 please
     
    Certifications: MCSE, MCITP, VCP
    WIP: > 0
  6. Jellyman_4eva

    Jellyman_4eva Byte Poster

    213
    4
    34
    Well,

    I say 6! (So that means we have almost all the answers covered!)
     
    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
  7. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    180
    287
    Correct answer is #6, "set". If you type "export" you will get a list of all environment variables (shell variables won't be included). See Question #33 for more details.
     
    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.