I want to have a complete and sorted list of my bash history. But there are some problems:
- By doing
historythe list never shows the complete list and only 1000 commands are shown.
- In my $HOME directory there is a file named .bash_history that shows 2000 results.
When I want to make a sorted .txt file out of my history I do:
history | sort > History.txt
But because of numbers the commands are not sorted alphabetically and are sorted by number.
Is there any way to do what I want?