Timeline for Add BASHPID to history?
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 7, 2021 at 21:00 | vote | accept | mikemtnbikes | ||
| Jul 5, 2017 at 1:55 | comment | added | Jeff Schaller♦ | another option would be to set HISTFILE to something that includes the PID as part of the filename. | |
| Jul 4, 2017 at 8:00 | answer | added | Rui F Ribeiro | timeline score: 5 | |
| Jul 4, 2017 at 7:21 | history | tweeted | twitter.com/StackUnix/status/882137235881168896 | ||
| Jul 3, 2017 at 22:52 | answer | added | user232326 | timeline score: 6 | |
| Jul 3, 2017 at 22:00 | comment | added | Rui F Ribeiro | I send all of it to a central syslog server | |
| Jul 3, 2017 at 21:27 | comment | added | mikemtnbikes | Indeed, the more I understand the more I think I'll have to have multiple history files (one for each BASHPID 'cause that's more granular than tty) and then somehow process them together to make the default .bash_history file. | |
| Jul 3, 2017 at 21:27 | comment | added | mikemtnbikes | @RuiFRibeiro Yes, but I don't see how that information can be stored in the .bash_history file. | |
| Jul 3, 2017 at 21:09 | comment | added | Rui F Ribeiro |
if running multiple windows in a graphical shell, tty is also useful to keep an idea of what is done in several screens; or to keep a notion of what is being done by different remote users when root is being (ab)used. man tty
|
|
| Jul 3, 2017 at 21:03 | comment | added | mikemtnbikes | @RuiFRibeiro could you be more explicit? | |
| Jul 3, 2017 at 20:59 | comment | added | Rui F Ribeiro | How about adding tty? | |
| Jul 3, 2017 at 20:55 | history | asked | mikemtnbikes | CC BY-SA 3.0 |