Moderate

In Bourne shell, which file sets the Unix environment for the user when the logs into his HOME directory ?

Correct answer: B. .profile

  • A. .exrc
  • B. .profile
  • C. lastlogin
  • D. .mbox

Explanation

The Bourne shell reads `.profile` when a user logs in, allowing environment variables and startup settings to be established. `.exrc` is associated with editor configuration rather than the shell environment.

Last updated

Practise Software Development Lifecycle

423 free Software Development Lifecycle MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions