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

  1. This article is an excellent resource for anyone preparing for a Shell programming interview, providing a consolidated and practical list of essential questions and answers. By covering fundamental commands—such as identifying the current shell, checking the date, listing users, and verifying the current directory—it builds a strong foundation for candidates. The link to additional sets on scmGalaxy further extends the value of this post, making it a go-to guide for mastering the basics and beyond. For developers and DevOps engineers, having such a clear reference helps in reinforcing core scripting skills that are vital for automation and system administration.

    ReplyDelete

Post a Comment