QuestionQ36Verified/Shells y scriptsCopy linkReport a problemAsk AstroTutorSave questionWhich statement is true about the .profile file in a user's home directory?AIt must be executable.BIt must call the binary of the login shell.CIt must use a valid shell script syntax.DIt must start with a shebang.EIt must be readable for its owner only.Show AnswerAnswerExplanationA login shell reads and interprets .profile as shell commands. Therefore, the file must contain valid shell-script syntax; it does not need to be executable or begin with a shebang.Show comments9Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion