Computer Science - Linux - Discussion

Discussion :: Linux - Section 2 (Q.No.10)


What script is run for setting bash global defaults for all users?

[A]. /etc/.profile
[B]. /etc/.bashrc
[C]. /etc/.log
[D]. /etc/profile
[E]. None of the above

Answer: Option D


No answer description available for this question.

Renjith said: (Feb 20, 2015)  
Please explain what is the use and specialty of /etc/profile?

Ramkumar said: (May 5, 2016)  
/etc/profile file sets the environment variables at startup of the Bash shell.

The /etc/profile.d directory contains other scripts that contain application-specific startup files, which are also executed at startup time by the shell.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.