By default, the ".profile" file doesn't exist in your HOME directory. So, if the file is deleted accidentally or not available, the shell tries to load all defaults from the file "/etc/profile".
This blog provides some ready-made tips, tricks, tweaks & interview questions-answers on C, C++, Perl, Shell Scripting and UNIX Commands.
Monday, January 14, 2013
What happens to shell in UNIX, if the ".profile" doesn't exist or gets deleted accidentally?
Labels:
UNIX
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment