“Bash se não” Respostas de código

Bash se não

if ! [ $(cat /etc/passwd | grep "sysa") ]; then
        echo "ERROR - The user sysa could not be looked up"
        exit 2
fi
Distinct Dogfish

Bash se não

if [[a != b]]; then
	echo "a is not b"
else
	echo "a is the same as b"
fi
Flyhouse_Squarewheel

Respostas semelhantes a “Bash se não”

Perguntas semelhantes a “Bash se não”

Mais respostas relacionadas para “Bash se não” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código