Skip to main content

Shell Programming: Interview Questions & Answer


If you are going for Shell programming Interview than this article is for you. Here you can find consolidated list of all possible questions and their answers about shell programming.

Interview Questions Sets : Shell Programming

How do you find out what's your shell? 
Answer: echo $SHELL

What's the command to find out today's date? 
Answer: date

 What's the command to find out users on the system? 
Answer: who

How do you find out the current directory you're in? 
Answer: pwd Read more questions click here

Reference:- This article was originally posted on scmGalaxy.com

Comments

Monika kumari said…
This is a really helpful collection of Shell programming interview questions and answers — perfect for anyone preparing for DevOps, SRE, or backend engineering roles. It covers practical scenarios and core concepts like scripting syntax, loops, conditionals, and command‑line tools in a clear way that strengthens both understanding and confidence. Great resource for brushing up before interviews and improving real‑world shell scripting skills!