Notes for shell, diff, package managers, and integrity checking