At login time
Your login shel consults /etc/profile which is owned by root,
your home ~/.bash_profile which is owned by yourself,
the /etc/bashrc which is owned by root and your home ~/.bashrc which owned by yourself.
Each time a new shell is started
It executes the /etc/bashrc and ~/.bashrc.
Notice that starting a new shell without logging out and in again (a child process) means that the shell has no need to run the profile files again.
Useful command combination
Count number of files in subdirectories
find . -type -f | wc -l
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment