QuestionQ104Verified/Essential CommandsCopy linkReport a problemAsk AstroTutorSave questionWhat is the role of the /etc/profile file?AIt contains the welcome message that is displayed after login.BIt contains security profiles defining which users are allowed to log in.CIt contains environment variables that are set when a user logs in.DIt contains default application profiles for users that run an application for the first time.Show AnswerAnswerExplanation/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 moreGNU Bash Reference Manual — Bash Startup FilesShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion