Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
ShellEnhancement
(view source)
Revision as of 14:22, 20 December 2008
334 bytes added
,
14:22, 20 December 2008
no edit summary
Line 1:
Line 1:
−
sort -u /root/.bash_history -o /root/.bash_history
+
== Sort & Remove Duplicates ==
+
This will sort and remove duplicate commands from your .bash_history file in the /root directory, as well as reducing it file size.
+
After you execute the command below, you should edit the file and remove any commands or lines that have errors in them so they aren't
+
executed accidentally.
+
+
<pre>
+
sort -u /root/.bash_history -o /root/.bash_history
+
</pre>
==Expand memory of you .bash_history==
==Expand memory of you .bash_history==
Electroman00
157
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
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