- tar xzvf filename
- tar czvf filename.tgz directory/
- bunzip2 filename.bz2
- if it is tar.bz2 then do tar -xjvf filename.tar.bz2
- tar cjvf filename.tar.bz2 directory/
This blog covers various topics from technical tweaks to latest in computational linguistics, Artificial Intelligence, Machine Learning and Wed Data Mining.
python -u myprogram.pyAlternatively, if you are using sys.stdout.write to print messages to the terminal, then you can do sys.stdout.flush() right after the sys.stdout.write() to do the same. This works even with file I/O.
For nvidia GPUs do the follwing: nvidia-smi -l 1