[sle-beta] Gnome and a good Script

Malcolm malcolmlewis at cableone.net
Sat Mar 31 13:28:30 MDT 2018


On Sat, 31 Mar 2018 16:45:12 +0000
"Waite, Dick (External)" <Dick.Waite at softwareag.com> wrote:

> We need the history of what was typed in on their terminal. I don't
> think there is a default? But we older people are all KDE and not
> very familiar with grand cpu eater Gnome ;o) __R
> 
<snip>
Hi
It's nothing to do with desktop environment in use, so it's alright for
the moment since you won't melt your system with a plasma ray.... ;)

The default shell is /bin/bash, doesn't matter witch terminal is used,
xterm, gnome-terminal, konsole etc and the end of the terminal session
it will write out to the ~/.bash_history.....

Unfortunately if a user runs history -c it's all gone for that
session.....

Or are you wanting the user to run something when requested?

FWIW, I would suggest a tool like sysdig may be easier for the admin to
use (Available via package hub, maybe not ready for SLE 15)?
https://www.tecmint.com/sysdig-system-monitoring-and-troubleshooting-tool-for-linux/

Use the command;
sysdig -c spy_users

-- 
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.3 | GNOME 3.20.2 | 4.4.120-45-default
HP 255 G4 Notebook | A6-6310 X4 @ 1.80 GHz | AMD Radeon R4
up 5 days 14:36, 1 user, load average: 5.87, 5.30, 3.79


More information about the sle-beta mailing list