QuestionQ36

VerifiedShells y scripts

Which statement is true about the .profile file in a user's home directory?

Explanation

A 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.

Community Discussion

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