1.

Which command is used for translating characters?(a) sort(b) trans(c) tr(d) pasteThe question was asked during a job interview.I'm obligated to ask this question of Unique and tr Command topic in chapter Simple Filters of Unix

Answer»

The correct choice is (c) tr

For explanation: The TRANSLATE (tr) filter is used for manipulating individual characters in a LINE. USUALLY, tr command translates characters using one or TWO compact EXPRESSIONS. The syntax for using tr command is,



Discussion

No Comment Found

Related InterviewSolutions