Hacker News new | past | comments | ask | show | jobs | submit login

I recently reinstalled my personal laptop to distro hop. the only two files I migrated over were my pgp key and .bash_history, the bash history is around 8000 lines I don’t want to loose.

sometimes I ‘sort | uniq’ the bash history to filter about duplicates




I often use diff in this way to compare command outputs: diff <(somecmd | sort) <(othercmd | sort)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: