Question
a.
foreach
b.
for
c.
split
d.
join
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 joining lists.
Similar Questions
Discover Related MCQs
Q. perl is ____ of grep, tr, sed and awk.
View solution
Q. The following will display :
perl -e ‘print “UNIX” x 10 . “\n” ;’
View solution
Q. Filter’s are a category of commands that take the advantage of shell redirection feature.
View solution
Q. Which command is used for preparing a file for printing?
View solution
Q. pr command adds ____ lines of margin at the top and bottom.
View solution
Q. Which option is used with pr command for printing multi-columnar output?
View solution
Q. Which option is used with pr command to suppress the header and footers?
View solution
Q. Which option is used with the tail command for extracting bytes instead of lines?
View solution
Q. paste command uses space as the default field delimiter.
View solution
Q. _____ option is used with paste command if we want to specify our own delimiter.
View solution
Q. Which option is used with paste command for joining lines?
View solution
Q. ____ command is used for sorting a file on specified fields.
View solution
Q. The name of the input and output files cannot be same while using sort command.
View solution
Q. Which command is used for locating repeated and non-repeated lines?
View solution
Q. uniq command requires a sorted file as input.
View solution
Q. Which option is used with uniq command for selecting non-repeated lines?
View solution
Q. Which one of the following command is used for searching for a pattern in one or more file(s)?
View solution
Q. Which one of the following is the correct syntax for grep command?
View solution
Q. Which one of the following command will be used for searching “director” in emp.lst?
View solution
Q. When the pattern is not found in a file, grep command silently returns the prompt.
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!