IPython is a very helpful tool in prototyping and testing code in python. Its many rich features make exploring code base's painless and easy.
pip install -U ipython
ipython
ipython has a set of "magic" commands + %load - loads file (copies file into repl) + %run - runs file (global variables …
Compressing files with tar is simple
# compress
tar cvfz compressed.tar.gz directory_to_compress/
# uncompress
tar xvfz compressed.tar.gz
argument | what it does |
---|---|
c | create new archive |
z | compress/uncompress with gzip |
j | compress/uncompress with bzip |
v | list files to standard output that are handled |
f | after this … |
© Salah Ahmed 2016
Powered by Pelican