shell_history

A line-delimited (command) table of per-user .*_history data.

Table schema

Name Type Description
uid BIGINT Shell history owner
time INTEGER Entry timestamp. It could be absent, default value is 0.
command TEXT Unparsed date/line/command history line
history_file TEXT Path to the .*_history for this user

Query examples

select * from users join shell_history using (uid)