Question

    What does below UNIX command do? cp file1

    file2
    A copies the content of file1 into file2. Correct Answer Incorrect Answer
    B copies the content of file2 into file1 Correct Answer Incorrect Answer
    C create two files file1 and file2 Correct Answer Incorrect Answer
    D duplicate file1 with name file2 Correct Answer Incorrect Answer
    E None of these Correct Answer Incorrect Answer

    Solution

    cp is the basic command in UNIX that will copy one file content into other and after that two separate files file1 and file2 will be there.

    Practice Next