2
votes
2answers
982 views

HISTTIMEFORMAT modification. In /etc/bash.rc or /etc/profile? [duplicate]

I'd like to add the date/time to the output of the history command in CentOS/RHEL 6. I would like this to apply to all users on the machine by default. This itself is easy. It seems to just be a case ...
2
votes
1answer
3k views

How to colorize “root” in red in CentOS?

This is the content of /etc/bashrc, I would like to modify it for show "root" as red but don't know where to add the color code. # /etc/bashrc # System wide functions and aliases # Environment stuff ...
2
votes
2answers
5k views

Where is the system profile that gets sourced at login on CentOS 5.8?

In CentOS release 5.8 (Final), where is the bash system profile? Is it /etc/profile ? I've added the following to source my ~/.bashrc file but haven't had any luck as it fails. I know it fails ...