Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
ShellEnhancement
(view source)
Revision as of 21:26, 14 September 2009
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 ==
Nenonano
67
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search