Update linux.py

Fixed a few things