How to Add Date And Time To Your Bash History on SuSE Linux
The SuSE Linux Enterpise 10 which came together with bash-3.x RPM and HISTORY command show insufficient information(at least for me) as example below:
1 vi /etc/hosts
2 rpm -qa|grep bash
3 cat /etc/SuSE-release
4 history
For any SuSE Linux Enterprise server 10 that managed by more than one people, I would suggest you should make history command more user friendly and more information for auditing purposes.
Edit /etc/bash.bashrc and append to the bottom:
export HISTTIMEFORMAT="%h/%d - %H:%M:%S "
save it.
Read more
Possibly Related Posts:
- Google Public DNS Down?
- lppasswd: Unable to open passwd file: Permission denied
- Missing /var/log/lastlog
- Telnet service_limit error
- Google accounts on Twitter
Browse Our History Page
This is to inform that we’re currently testing an additional features so called “browse end of the day history page” which you can see display on the sidebar main page.
Why we so called end of the day and why we need history page? We know and we’re believe some of our readers or supporters may miss out some nice blog or article. So our system will generate the history page around 23:00 – 23:30 every night to serve from calendar day 1 to 31. When anyone click on individual day of the month, you will redirect to the history page generate daily. Please be patient, there may have some error or page not available during testing period.
Possibly Related Posts:
- 2009 Metrics
- Happy Deepavali 2009
- Selamat Hari Raya 2009
- Debian GNU/Linux 5.0 released
- Happy Chinese New Year 2009