adplus-dvertising
frame-decoration

Question

The ____ variable stores the name of the file currently being processed.

a.

OFS

b.

FILENAME

c.

NF

d.

ES

Posted under UNIX

Answer: (b).FILENAME

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The ____ variable stores the name of the file currently being processed.

Similar Questions

Discover Related MCQs

Q. Which of the following is not a built-in variable used by awk?

Q. awk supports the use of arrays.

Q. Which of the following is not true about awk arrays?

Q. Which of the following is an associative array?

Q. Which function is used by perl for displaying the length of a string?

Q. ___ function returns the first occurrence of a character in a string.

Q. For extracting a substring, ____ function is used.

Q. substr function is also used to alter an existing string.

Q. Which function is used by perl for reversing a string?

Q. Which function is used for handling substitutions in perl?

Q. Which escape character is used for identifying a word character?

Q. We can use find command for testing files with perl.

Q. Which of the following is referred to as default variable?

Q. ___ operator is used for selecting current line number.

Q. ___ is known as range operator.

Q. The command @x=(1. .10) will assign first ten integer values to the array ‘a’.

Q. The ___ prefix to an array name signifies the last index of the array.

Q. For deleting the elements from the left of the array ___ function is used.

Q. For deleting the elements from the right of the array ___ function is used.

Q. To add elements to the left side of the array ____ function is used.