search

Monday, December 14, 2015

fedora: Disable Komodo Edit file association

Remove
text/plain=komodo-edit-9.desktop
from file
~/.local/share/applications/defaults.list

Thursday, December 10, 2015

bash: How to clean logs

One of the fastest and easiest ways is just like this:
> /var/log/syslog

bash: How to remove all *.pyc files

Remove all *.pyc files from the current directory (and subdirectories):
find . -name \*.pyc -delete