Principais perguntas e respostas de entrevista e testes online
Plataforma educacional para preparacao de entrevistas, testes online, tutoriais e pratica ao vivo

Desenvolva habilidades com trilhas de aprendizado focadas, simulados e conteudo pronto para entrevistas.

WithoutBook reune perguntas de entrevista por assunto, testes praticos online, tutoriais e guias comparativos em um unico espaco de aprendizado responsivo.

Preparar entrevista

Shell Scripting perguntas e respostas de entrevista

Pergunta 26. How can you find the length of a string in a shell script?

You can use the `expr length $string` or `${#string}` syntax to find the length of a string.

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 27. Explain the use of the `declare` command in shell scripting.

The `declare` command is used to set attributes for variables in a shell script.

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 28. What is the purpose of the `printf` command in shell scripting?

The `printf` command is used for formatted printing in shell scripts.

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 29. How do you use arithmetic operations in a shell script?

You can use the `expr` command or $((expression)) syntax for arithmetic operations.

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 30. Explain the use of the `eval` command in shell scripting.

The `eval` command is used to evaluate a command or an expression.

Isto e util? Adicionar comentario Ver comentarios
 

Mais uteis segundo os usuarios:

Copyright © 2026, WithoutBook.