Banking Computers Science Sample Paper Computer - Sample Paper - 17

  • question_answer
    In shell programming, which of the following command is used for character translation?

    A) Tr                    

    B) dd

    C) Grep                

    D)        sed

    E) None of these

    Correct Answer: A

    Solution :

    The tr command copies the given input to produce the output with substitution or deletion of selected characters, tr abbreviated as translate or transliterate. It takes as parameters two sets of characters, and replaces occurences of the characters in the first cell with the corresponding elements from the other set i.e. it is used to translate characters.     


You need to login to perform this action.
You will be redirected in 3 sec spinner