I'm an IT student and I was asked to explore some of the functionalities of the .profile, bashrc and bash_logout files. The thing is I'm new to Ubuntu and Linux and I'm having trouble to find some example scripts to implement in those files. So far I know that: .profile: every change here applies to all users profiles. .bashrc: a script that's executed everytime I log in and also provide aliases. .bash_logout: not really sure what it does.
I'd like some information aswell as some ideas about changes I could do to those files so I can see how they work.
I was thinking in adding a Hello world script or a change terminal color in .bashrc but I don't know what to do with the other files. Would appreciate some help.
Thanks in advance.
man Bash
, http://www.tldp.org -> Bash guides. – Hannu Dec 07 '22 at 17:01