Changes

From SME Server
Jump to navigationJump to search
236 bytes added ,  21:26, 14 September 2009
no edit summary
Line 8: Line 8:  
</pre>
 
</pre>
   −
==Expand memory of you .bash_history==
+
==Expand memory of your .bash_history==
 
Expand the memory of your .bash_history to 2000 lines adding this on your .bashrc:
 
Expand the memory of your .bash_history to 2000 lines adding this on your .bashrc:
 
<pre>
 
<pre>
Line 14: Line 14:  
export HISTSIZE=2000
 
export HISTSIZE=2000
 
</pre>
 
</pre>
 +
 +
==Add Date/time to each line in your .bash_history==
 +
Add Date/time to each line in your history adding this on your .bashrc:
 +
<pre>
 +
export HISTTIMEFORMAT='%F %T '
 +
</pre>
 +
Read 'date' man page to format date/time according to your needs
    
== Easy search using arrows ==
 
== Easy search using arrows ==
67

edits

Navigation menu