What happends if you have two files with names file1 and file2 and you type mv file1 file2 ? Which option of mv issues a warning in this situation?
What will be an ideal response?
The contents of file1 will be copied into file2 and deleted. And the original file2 will be replaced
with file1. With `- option, there will be a warning in this situation. This ‘-i’ interactive option can be used ‘cp’ and ‘rm’.
You might also like to view...
Match the following features of the Picture Tools Format tab with their description:
I. Crop A. increases or decreases brightness of an object II. Position B. specifies the location on a page where the object will reside III. Compress Pictures C. reduces the file size IV. Corrections D. removed unwanted portions of an object V. Group E. selecting multiple objects so they can be moved or formatted together
The command to delete a directory and all the subdirectories and files in it is
a: rm -r directory-name b: rm directory-name c: rm -all directory-name d: rm -sub directory-name e: rm all