QuestionQ104

VerifiedEssential Commands

What is the role of the /etc/profile file?

Explanation

/etc/profile is a system-wide login-shell initialization file. It is commonly used to set environment variables and other shell environment settings when a user logs in. GNU Bash reads and executes it for login shells when the file exists.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!