Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #175079
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to mount a LVM? |
| Date | 2016-11-26 05:20 +0100 |
| Message-ID | <sHCCZ-1E8-7@gated-at.bofh.it> (permalink) |
| References | <sHuFr-4La-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri 25 Nov 2016 at 14:43:34 (-0500), Cindy-Sue Causey wrote: > The reason it doesn't always report all recent previous commands > under multiple open tabs/windows is that it appears to cherry pick > the commands from the last window closed at any given point. Each time you close a window, its shell (say, bash) appends its command history list¹ to ~/.bash_history and the new version of this file will be read by any fresh invocation of bash. So each instance of a shell will have its own command history list, consisting of the commands you typed into it, and the contents of ~/.bash_history when it started running. As for cherry picking, one can control what gets remembered in the history list (with bash's HIST* variables), but it's not a random selection as seems to have been implied. BTW each user has their own history files. Exposing them to other users would be a security breach, despite the fact that most of the information contained therein might have been observable at some time or other with the ps command. ¹ just the commands issued in this session, not including those read from ~/.bash_history when bash started. Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
How to mount a LVM? Robert Latest <boblatest@gmail.com> - 2016-11-24 19:40 +0100
Re: How to mount a LVM? Roland Müller <roland.em0001@googlemail.com> - 2016-11-24 23:00 +0100
Re: How to mount a LVM? Robert Latest <boblatest@gmail.com> - 2016-11-25 18:50 +0100
Re: How to mount a LVM? Nicolas George <george@nsup.org> - 2016-11-24 23:30 +0100
Re: How to mount a LVM? Rick Thomas <rbthomas@pobox.com> - 2016-11-25 15:10 +0100
Re: How to mount a LVM? Alexandre GRIVEAUX <agriveaux@deutnet.info> - 2016-11-25 14:20 +0100
Re: How to mount a LVM? Cindy-Sue Causey <butterflybytes@gmail.com> - 2016-11-25 20:50 +0100
Re: How to mount a LVM? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-11-25 22:20 +0100
Re: How to mount a LVM? Robert Latest <boblatest@gmail.com> - 2016-11-25 23:00 +0100
Re: How to mount a LVM? David Wright <deblis@lionunicorn.co.uk> - 2016-11-26 05:20 +0100
csiph-web