Terminal event/command traceability

Suggestions and feedback for Linux Mint and the forums
Forum rules
Do not post support questions here. Before you post read: Where to post ideas & feature requests
Post Reply
User avatar
Catchpole
Level 4
Level 4
Posts: 349
Joined: Sat Dec 24, 2011 4:15 am
Location: Leeds UK

Terminal event/command traceability

Post by Catchpole »

A TIP.
I typed this line in the Terminal immediately after my MINT installation:

Code: Select all

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>###########  MINT 20.1 INSTALLED AT THIS POINT  ###########>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
It was recorded in the .history file: (Ignore all the warnings they aren't recorded)
So that if I want to trace what I did just after installing Mint 20.1, I can find it easily in the Terminal (just type "history") to see what commands I used at the time to tailor the system to my needs. Easier to trace any mistakes.

The Terminal can be used as Notepad Heading prior to events where you use the Terminal.
It's easy to see in the Terminal "history" by just scrolling.

It's advantageous to also have the Date/Time displayed in the ".history" file.
https://www.linuxuprising.com/2019/07/b ... -when.html
Desktop Computer:
Motherboard = Gigabyte GA-H61M-USB3V
CPU = Intel i3-3240 3.4GHz
Monitor = BENQ BL2411PT rev 00-012-AL
Mint 21.3 Virginia "Mate desktop" (64bit)
Memory = 12GB
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: Terminal event/command traceability

Post by rene »

NB; The history file is by default limited to 500 entries; see man bash, HISTSIZE and HISTFILESIZE. If you add e.g. HISTSIZE=-1 to ~/.bashrc it's unlimited, i.e., will retain above suggestion.
Post Reply

Return to “Suggestions & Feedback”