detect bash