I agree... but back to the original topic. If you just want a log of everything you do, I use the following hack to keep an eternal log of commands run in bash.
https://gist.github.com/ardichoke/038c84b7966856da211a Used it in the past when I was administering hosts that were worked on by multiple people. This would help in tracking down who broke things so that justice could be meted out. Either add it to your bashrc, or (at least on RHEL) drop it in /etc/profile.d to apply it system wide. I have no doubt that there are improvements that could be made to this... for instance, on systems where I didn't want people to be able to tamper with the logs, I had it write the message using logger on one of the local syslog channels, which logged the message into a file writable only by root (and in some cases, also sent it to a centralized logging server). Granted, that doesn't keep track of the output, but at least you have a record of your inputs. On Thu, 2015-10-29 at 08:13 -0700, Matt Simmons wrote: > Certain distros are wrong and should feel bad ;-) > > On Thu, Oct 29, 2015 at 8:09 AM, Ryan DeShone <r...@deshone.net> > wrote: > > Hearty +1 for tmux. Also allows you to examine scrollback in a more > > sane manner as well as searching it. > > > > Also use GNU Screen in some cases. While I don't like it as much as > > tmux, certain distros don't have tmux in the official repos. > > > > On Thu, 2015-10-29 at 08:03 -0700, Matt Simmons wrote: > > > More often than not, my typical terminal interface looks like > > this: > > > > > > http://i.imgur.com/XndR2tp.png > > > > > > I have at least one tmux window running, with several panes. In > > the > > > example screenshot, I have vi running on the left side, on the > > right > > > side top, I'm editing a puppet file, and on the bottom right, I'm > > > running commands relevant to the two editing windows. > > > > > > Tmux has really changed how I work. I like it a lot. > > > > > > --Matt > > > > > > > > > On Thu, Oct 29, 2015 at 7:46 AM, Derek J. Balling <dredd@megacity > > .org > > > > wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA512 > > > > > > > > > > > > > > > > On 10/29/2015 10:36 AM, Yves Dorfsman wrote: > > > > > For people spending a lot of time in a terminal/shell (bash, > > csh > > > > > etc...) do you work from the shell or from an editor? > > > > > > > > > > The joke goes that people using emacs live inside emacs, and > > I > > > > have > > > > > indeed seen developers working from a simple window and > > sending > > > > > chunk of code to a compiler/repl right from emacs, now what > > about > > > > > the shell? > > > > > > > > I had a boss who used to have his login shell set to emacs, but > > > > this > > > > is 15 years ago +/-. > > > > > > > > D > > > > > > > > > > > > - -- > > > > I prefer to use encrypted mail. My public key fingerprint is > > FD6A > > > > 6990 > > > > F035 DE9E 3713 B4F1 661B 3AD6 D82A BBD0. You can download it at > > > > http://www.megacity.org/gpg_dballing.txt > > > > > > > > Learn how to encrypt your email with the E-Mail Self Defense > > Guide: > > > > https://emailselfdefense.fsf.org/en/ > > > > -----BEGIN PGP SIGNATURE----- > > > > Version: GnuPG/MacGPG2 v2.0 > > > > Comment: GPGTools - https://gpgtools.org > > > > > > > > > > iQIcBAEBCgAGBQJWMjFNAAoJEGYbOtbYKrvQpUkP/2aqeXL/pSy95heqaYyhOdIL > > > > > > s550Fs/35odTsRVDSI+lNrgJMDcTLDghuyRIKjEVZ9wR/qR+RWYfok98dNIFOAf9 > > > > > > qhzVWhB5MbRlLrS2giVKJXtIy8zrxOCruicVIGjF15nTV2LdnreB4hzz4pQ22c8U > > > > > > xR38+TWx5UVigQipVmDlZTl/7WMsAwrMnLh7oSuYWPrl2FZKXmYAGYdkhb0UDXgo > > > > > > DmGu4asWLPZrYkjW9IEAwLXQQBHVCl3BTXm5HZobgucniWJbfsZgrg16MN1tCf7u > > > > > > cMw6Nkyeomn0/X+UYhHWAQkbrVEA61PApmJrsVvX6tIJZb+zgfBB61varGKrxqZ+ > > > > > > SuweQ+UgGeBnWJbSWAoV1CQF6DP/paqkptNa+o3f5DXVyLi4oAlIkm1hurE1ISeA > > > > > > lCYPSo7A7pGibrE7iYH9wwryncox59jRQ6jF2ZP/C2ZHaWdel61QkE5Gf3Wn9CwC > > > > > > Re62fmNwOI4I39+kgAtAbV3vV8L069zA+/DzL4qwzi4rdcJlQTINGAyNpioKjKRy > > > > > > TOEv2AvfXv3hXh9J+Swebj2G8CqOLcK7BSgrES/GtmDCb/3YnORLrz7Db5ggKmW1 > > > > > > aVr2soG6Tt2uuXOdOt+BA3iqqWTwXMiD8r4B2DYO5oW0utCRGg7uck4XOFZuW3en > > > > UanCphhq2XPLYTQfFizn > > > > =vA2Q > > > > -----END PGP SIGNATURE----- > > > > _______________________________________________ > > > > Tech mailing list > > > > Tech@lists.lopsa.org > > > > https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech > > > > This list provided by the League of Professional System > > > > Administrators > > > > http://lopsa.org/ > > > > > > > _______________________________________________ > > > Tech mailing list > > > Tech@lists.lopsa.org > > > https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech > > > This list provided by the League of Professional System > > > Administrators > > > http://lopsa.org/ > > _______________________________________________ > > Tech mailing list > > Tech@lists.lopsa.org > > https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech > > This list provided by the League of Professional System > > Administrators > > http://lopsa.org/ > > _______________________________________________ Tech mailing list Tech@lists.lopsa.org https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/