Random Linux+ Question #52

Discussion in 'Linux+' started by tripwire45, Aug 5, 2005.

  1. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    180
    287
    You want to change how your cursor looks on the command line permanently. To do that, you have to change the "PS1" value in what directory and file? Choose only one answer:

    1. /home/user/.bash_authority
    2. /home/user/.bashrc
    3. /home/user/.bash_profile
    4. /etc/bash.bashrc
    5. /etc/bash_completion
    6. /etc/bash_completion.d

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

    starfury6 Nibble Poster

    53
    0
    33
    Hmmm for a permenant change accross all users I'd say it would need to be in /etc or in the are for default user home directory files rather than a specific user.

    I'll guess at 2
     
    Certifications: RHCT4, RHCT5
    WIP: SCSA
  3. ffreeloader

    ffreeloader Terabyte Poster

    3,661
    106
    167
    2 for me
     
    Certifications: MCSE, MCDBA, CCNA, A+
    WIP: LPIC 1
  4. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    180
    287
    #2 is correct to change the cursor permanently for a specific user. To create a system wide configuration change, read by all shells, you'd have to modify /etc/profile.
     
    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.