Shell environment · Question 2 of 12

Which file in the home directory does an interactive bash read that is not a login shell?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • B ~/.bashrc

Explanation

A new terminal window usually starts an interactive non-login shell. It reads ~/.bashrc but not the login files such as ~/.bash_profile.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications