가장 많이 묻는 면접 질문과 답변 & 온라인 테스트
면접 준비, 온라인 테스트, 튜토리얼, 라이브 연습을 위한 학습 플랫폼

집중 학습 경로, 모의고사, 면접 준비 콘텐츠로 실력을 키우세요.

WithoutBook은 주제별 면접 질문, 온라인 연습 테스트, 튜토리얼, 비교 가이드를 하나의 반응형 학습 공간으로 제공합니다.

Prepare Interview

Shell Scripting 면접 질문과 답변

Ques 16. What is the purpose of the `basename` command in shell scripting?

The `basename` command is used to strip directory and suffix from filenames.

도움이 되었나요? Add Comment View Comments
 

Ques 17. How can you check the status of the last command in a shell script?

You can use the `$?` variable to check the exit status of the last command.

도움이 되었나요? Add Comment View Comments
 

Ques 18. Explain the use of the `expr` command in shell scripting.

The `expr` command is used for evaluating expressions in shell scripts.

도움이 되었나요? Add Comment View Comments
 

Ques 19. What is the purpose of the `export` command in shell scripting?

The `export` command is used to make environment variables available to child processes.

도움이 되었나요? Add Comment View Comments
 

Ques 20. How do you use the `while` loop in a shell script?

The `while` loop is used to repeatedly execute a block of statements as long as a condition is true.

도움이 되었나요? Add Comment View Comments
 

Most helpful rated by users:

Copyright © 2026, WithoutBook.