terminal with timestamp [debian, ubuntu, raspberrypi]

based on:
http://be-jo.net/2014/04/terminal-mit-zeitstempel-versehen/

it is useable but i had problems and glitches with it.

edit the .bashrc file:
nano .bashrc

add at the end:
## add timestamp
export PROMPT_COMMAND="echo -n \[\$(date +%H:%M:%S)\]\ "

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s