Every shell uses at least one startup script in the user’s home directory, which is executed when the user logs in.

Lan Anh

New member
Every shell uses at least one startup script in the user’s home directory, which is executed when the user logs in.
A. True
B. False
 
Answer: a
Explanation: Every shell uses at least one startup script in the user’s home directory. This script is executed when the user logs in. Some shells also make use of a separate file that is run before logging out. We can look for these files in our home directory.
Code:
.profile (Bourne shell)
.profile and .kshrc (Korn shell)
.bash_profile or .bashrc (bash shell)
 

Tìm kiếm

Back
Top