Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
bash [2009/04/05 00:06]
a + colored prompt
bash [2009/05/25 00:35] (current)
Line 35: Line 35:
 PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
 </code> </code>
 +
 +==== Adds date/time to history ====
 +  #vi $HOME/.bashrc
 +  export HISTTIMEFORMAT=”%h/%d - %H:%M:%S “
  
 ==== If you just want to find out what's new in a directory ==== ==== If you just want to find out what's new in a directory ====
bash.txt · Last modified: 2009/05/25 00:35 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready