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/01/14 10:30]
a
bash [2009/05/25 00:35] (current)
Line 30: Line 30:
  
     alias system="os && hw"     alias system="os && hw"
 +
 +**Colored prompt**
 +<code bash|>
 +PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
 +</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.1231925432.txt.gz · Last modified: 2009/05/25 00:34 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready