Tips



Archive

rpm package is a cpio archive.

zip -r ../target.zip * - zip recrusively all the content under the current directory to the target.zip
unzip -l /path/to/a.zip - list the content of the zip file

Fails a bash script on error

set -e

Install

sudo install /path/to/binary

comments powered by Disqus

Copyright © 2021 Kenneth Feng. All Rights Reserved