Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: CPAN Module to determing overlap of 2 lists?

by wazat (Monk)
on Aug 11, 2020 at 20:15 UTC ( [id://11120626]=note: print w/replies, xml ) Need Help??


in reply to Re: CPAN Module to determing overlap of 2 lists?
in thread CPAN Module to determing overlap of 2 lists?

I never looked at HISTTIMEFORMAT.

If I set HISTTIMEFORMAT, bash captures the time in the history file as what appears to be epoch seconds. This would definitely speed things up.

#1597175957 echo $$ #1597175963 echo $HOME #1597175967 ls -la #1597176017 ls #1597176017 ls #1597176018 ls

As you mention, the history file gets written when the shell exits. I too usually have multiple shells at the same time. I guess if we need to separate different sessions we could set HISTFILE to a distinct file name in .bashrc

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11120626]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-16 22:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found