I'd like to be able to watch the
history of a user, but in real time. My first thought was to use
tail -f to track whatever file updates the history. Is this possible? Or, is there a better alternative to see real-time commands?
The specific scenario I'm in is where I and another engineer are sudo'd to the same user -- as this user, I'd like to see commands executed by this user.