Reconstruct a bash_history file

James B. Byrne byrnejb at harte-lyne.ca
Fri Nov 3 01:47:51 UTC 2017


On Thu, November 2, 2017 16:46, Polytropon wrote:

> For your example input text, I get the following result:
>
> #1403186965
> whois playford.de
> #1403245440
> man xpdf
> #1403504536
> su -l
> #1403595207
> cd Desktop
> #1403680945
> su -l
> #1403777728
> su -l
> #1403851720
> su -l
> #1404109084
>
> #1404308457
> history | grep enscript
> #1404369535
> ll
> #1404458944
> su -l
> #1404718414
> ssh -Y xnet241
> #1404800999
> su -l
> #1404881626
> su -l
> #1404984020
> whois arcom.com.br
> #1405065744
> su -l
> #1405324707
> su -l
> #1405406798
> su -l
> #1405499512
> sshtn xnet241
> #1405583423
> history | grep PORT
>
> Does this look correct?
>
>
>

Amazing.

I will try this out tomorrow and see what the results are.

-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3



More information about the freebsd-questions mailing list