Compare different methods to check if a command exists in different shells.