nhi-log - Show logs of shell sessions.
nhi-log shows logs of shell sessions using less program. Interface is inspired by git-log.
nhi log [--help | -h] [--exit-status | -s <exit-status>] [--directory | -d <directory>] [--command | -c <command-regex>] [--before | -b <date-and-time>] [--after | -a <date-and-time>] [-l | --long]
-h, --help
Show context-sensitive help.
-s, --exit-status=<exit-status>
Only show session(s) where command(s) have specified exit status.
-d, --directory=<directory>
Only show shell session(s) where command(s) were executed in specified directory.
-c, --command=<command-regex>
Only show shell session(s) where command(s) match given regex.
-b, --before=<date-and-time>
Only show shell session(s) created before specified date and time. Date and time needs to be specified in the following format: "%YY-%MM-%DD %HH:%MM:%SS".
-a, --after=<date-and-time>
Only show shell session(s) created after specified date and time. Date and time needs to be specified in the following format: "%YY-%MM-%DD %HH:%MM:%SS".
-l, --long
Show commands executed inside session(s) as well.