Make ip_command work with posix shells