Question
a.
cut
b.
chop
c.
erase
d.
split
Posted under UNIX
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. ___ function is used for removing the last character from the line.
Similar Questions
Discover Related MCQs
Q. It is often more convenient to save perl program files with ____ extension.
View solution
Q. To test whether perl is in your PATH, use ____
View solution
Q. A perl program runs in a special interpretive mode.
View solution
Q. Which one of the following is the most powerful filter?
View solution
Q. awk makes a distinction between numeric and string variables.
View solution
Q. The _____ function extracts a substring from a string.
View solution
Q. Which of the following is a built-in function for awk?
View solution
Q. awk has some built-in functions which are used for arithmetic and string operations.
View solution
Q. awk uses _____ dimensional arrays.
View solution
Q. print statement is necessary for printing a line.
View solution
Q. Which of the following is supported by awk?
View solution
Q. sqroot(x) function returns the square root of x.
View solution
Q. For running a UNIX command within awk, we’ve to use ____ function.
View solution
Q. ____ function breaks up a string on the basis of delimiter.
View solution
Q. ____ section can be used if we’ve to print something before processing the first line.
View solution
Q. awk uses ______ for splitting a line into fields.
View solution
Q. For pattern-matching, awk uses regular expressions in ____ style.
View solution
Q. The default action if selection_criteria is missing is ____
View solution
Q. Which of the following will be used to print lines containing ‘manager’ in emp.lst?
View solution
Q. Awk filter operates at field level.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond UNIX? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!