linux-history.sh: TODO use python http://docs.python-guide.org/en/latest/