1.

Apart from renaming files, mv command can also(a) move a file(b) move a group of files(c) rename a directory(d) move a group of filesand rename a directoryThis question was addressed to me during an internship interview.The above asked question is from Deleting and Renaming files: rm and mv Command topic in division Handling Ordinary Files of Unix

Answer»

The CORRECT answer is (d) move a group of filesand rename a directory

Best EXPLANATION: Apart from RENAMING files, mv command can also move a group of files to a different directory. For EXAMPLE,



Discussion

No Comment Found

Related InterviewSolutions