nerdexam
LPI

201-450 · Question #204

How do /etc/profile and /etc/bashrc differ?

The correct answer is C. /etc/profile is a login script; /etc/bashrc is a non-login script. You've hit your weekly limit · resets 5am (America/New_York)

System Startup

Question

How do /etc/profile and /etc/bashrc differ?

Options

  • A/etc/profile is a tcsh logout script; /etc/bashrc holds bash environment variables.
  • B/etc/profile holds user login statistics; /etc/bashrc holds user shell preferences.
  • C/etc/profile is a login script; /etc/bashrc is a non-login script.
  • D/etc/profile holds user account data; /etc/bashrc is a bash startup script.

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    81% (21)
  • D
    12% (3)

Explanation

You've hit your weekly limit · resets 5am (America/New_York)

Topics

#bash startup#login script#non-login script#/etc/profile

Community Discussion

No community discussion yet for this question.

Full 201-450 Practice