Run command on Linux with resources limited.