#!/usr/bin/perl $hist = `bash -ic 'set -o history; history'`; print $hist;