0.0
The project is in a healthy, maintained state
Extract shell command history from Bash or Zsh
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.3
~> 3.10
~> 13.0
~> 1.63

Runtime

 Project Readme

Chronicle::Shell

Gem Version

Shell importer for chronicle-etl

Usage and examples

# install chronicle-etl and then this plugin
gem install chronicle-etl
chronicle-etl plugins:install shell

# output commands since 2 weeks ago
$ chronicle-etl --extractor shell:command --schema chronicle --since 2w --loader json

# Show recent commands sorted by frequency of use
$ chronicle-etl --extractor shell:command --loader table --limit 500 --fields command --silent | sort | uniq -c | sort -nr

Available Connectors

Extractors

  • shell:command - Extract shell history from bash or zsh