21⟩ How do you find out the current directory you’re in?
pwd
“Shell Scripting Interview Questions and Answers will guide us now that a shell script is a script written for the shell, or command line interpreter, of an operating system. It is often considered a simple domain-specific programming language. Typical operations performed by shell scripts include file manipulation, program execution, and printing text. Learn Shell Scripting with this Shell Scripting Interview Questions with Answers guide”
pwd
who
date
kill pid
ps -ag
kill 0
function-name() { #some code here return }
read {variable-name}
case {variable} in {possible-value-1}) {statement};; {possible-value-2}) {statement};; esac
while {condition} do {statement} done