Google News
logo
Unix - Quiz(MCQ)
For running a Unix command within awk, we’ve to use ____ function.
A)
split
B)
substr
C)
system
D)
length

Correct Answer :   system


Explanation : For running a UNIX command within awk, we’ve to use system function. For example,

BEGIN
{
      system(“date”)   // prints the system date ​

Advertisement