Added a pack of basic linux actions

I added a pack for linux actions.  Most of the actions I have created are around diagnostic work.
This should be in the `finally` block after `except`, otherwise the file won't be closed if an exception is thrown somewhere in that block.