[SATLUG] How to monitor SSH session?

Geoff geoff at w5omr.shacknet.nu
Thu Apr 12 08:44:18 CDT 2007


Jonathan Hull wrote:
> I was going to say that if you just want to see the commands and not the
> output you could do a tail -f on .bash_history, but it seems that it 
> doesn't
> update the file in real time, but only after they log out.
>
> So there goes that idea.

less /path/to/file +F
will let you see the file 'grow', in real time.




More information about the SATLUG mailing list