Util and tools for linux env test