my ~/.bash_history file keeps record of all the commands i've typed. can i not put only the latest commands that i've typed from the start of terminal so that it always show me the recently typed commands.
Asked
Active
Viewed 27 times
2
-
What OS/release are you using? You have tagged an EOL/ESM release which is now off-topic for this site (https://askubuntu.com/help/on-topic) – guiverc Mar 19 '20 at 09:52
-
Related: https://askubuntu.com/q/1175757/968501 – Raffa Mar 19 '20 at 09:52
-
I'm using Ubuntu 16.04 LTS – Vivek Kumar Mar 19 '20 at 10:06