1.

Which command is used for changing filename extensions?(a) chown(b) rename(c) basename(d) rmThis question was posed to me in exam.I want to ask this question from Shell Programming using Various Commands topic in division Essential Shell Programming of Unix

Answer»

The correct option is (c) basename

To EXPLAIN I WOULD say: basename command is used for changing the extensions of a group of FILENAMES. It EXTRACTS the “base” filename from an absolute filename. For EXAMPLE,



Discussion

No Comment Found

Related InterviewSolutions