Script teste1. #!/bin/sh # # if cat $ 1 then ech...

Script teste1.

#!/bin/sh

#

#

if cat $ 1

then

echo -e " File $ 1, found and successfully echoed" fi

Script teste2.

#!/bin/sh

# Script de teste2

tot=`expr $ 1 + $ 2`

echo $ tot

 

Com base nos scripts mostrados acima, julgue os itens que se seguem.

Caso o Script teste2 seja executado a partir da linha de comando do Linux $ sh -x dsh1.sh 4 5 , as linhas # Script de teste2 e expr $ 4 + $ 5 estarão contidas na saída do comando.

Navegue em mais questões

{TITLE}

{CONTENT}

{TITLE}

{CONTENT}
Estude Grátis