terminal_utils: change linux to unix

This along with comments to indicate the
portability of the implementation functions