Shell Scripting
Interview Questions And Answers
Q: - What is "Command Substitution" ?
Command substitution is the process by which the shell runs a command and replaces the command substitution with the output of the executed command. That sounds like a mouthful, but it's pretty straightforward in practice.
Submitted By:-Eric Email-ID: - erice934@gmail.com
Q: - What is " eval" command ?
The eval command exists to supersede the normal command-line substitution and evaluation order, making it possible for a shell script to build up commands dynamically. This is a powerful facility, but it must be used carefully. Because the shell does so many different kinds of substitutions, it pays to understand the order in which the shell evaluates input lines.
Submitted By:-Sanjay Email-ID: - sanjay00778@yahoo.com
Q: - What is awk ?
An awk invocation can define variables, supply the program, and name the input files.
Submitted By:- Sanjay Email-ID: - sanjay00778@yahoo.com
![]() |


