by add-sub-mul-div · 2y ago · 0 comments
One time long ago I wiped out a long crontab by using -r instead -e and got a perfect recent copy from my terminal history, so no harm done.
Yes, it includes both commands entered into the terminal and also all output or whatever gets put on the screen.
Last time I touched a crontab was a few years ago when I was migrating them to timer units.
The classic UNIXy stuff really does not try to hold your hand at all, so that level of logging seems pretty reasonable on systems like that.