>> 1) How to create/edit hidden files
>Under UNIX, a "hidden" file is just one that starts with a dot. Other
>than that there's nothing special about them. It's a minor *
>between ls and the shell --- ls won't list them unless you use -[aA],
>and the shells won't expand wildcards to them unless they have to. :-)
>> 2) Is my documentation correct about the '.profile' file
>Yep. Bourne-like shells (bash is Bourne-like) run .profile when you log in.
>Bash will also run .bashrc whenever a subshell is started --- sometimes
>it's better to put a command in .bashrc.
I've read that things which are not shell-specific (like programs that
you want to run at startup) should be put in .profile, while things
which are shell-specific should be put in .<shell>rc (eg .bashrc,
.tcshrc) so if you ever start up a csh (why you would want to is the
subject of another rant :-) it won't get confused by bash-specific
stuff. So, for example, put "alias ..." in .bashrc, "export ..." in
.bashrc, but put "fetchmail" or other non-shell-built-in commands in
To answer an earlier post, the "normal" hidden files are copied
from /etc/skel when you run "adduser".
And finally, to make changes which will affect all users, edit
/etc/profile and /etc/bashrc, which apply to all logins & users.
O< ( ( [ Better ]
_NH >=O ) ) [ Living ]
<_>-<_ + :::::-. [ Through ]
HCl<O> :::`-' [ Chemistry ]