Shell Scripting Interview Preparation Guide Download PDF
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
30 Shell Scripting Questions and Answers:
1 :: What are PIDs?
They are process IDs given to processes. A PID can vary from 0 to 65535.
2 :: How do you send a mail message to somebody?
mail firstname.lastname@example.org -s ‘Your subject’ -c ‘ email@example.com‘
7 :: How do you search for a string inside a given file?
grep string filename
9 :: How do you search for a string in a directory with the subdirectories recursed?
grep -r string *