Which command is used to copy the three files wb, collect and mon into the misc directory, under the same, when you were currently in the programs directory? A. copy wb ../misc collect ../misc mon ../misc B. cp wb collect mon ../misc C. copy wb collect mon /misc D. tar wb collect mon /misc E. None of the above

copy wb ../misc collect ../misc mon ../misc
cp wb collect mon ../misc
copy wb collect mon /misc
tar wb collect mon /misc E. None of the above

The correct answer is B. cp wb collect mon ../misc.

The cp command is used to copy files. The syntax for the cp command is cp source destination. In this case, the source is the three files wb, collect, and mon, and the destination is the misc directory. The .. in the destination path refers to the parent directory of the current directory. So, the cp wb collect mon ../misc command will copy the three files wb, collect, and mon to the misc directory, which is one level above the current directory.

The other options are incorrect for the following reasons:

  • Option A: The copy command is not a valid command in Unix.
  • Option C: The / in the destination path refers to the root directory. So, the copy wb collect mon /misc command would copy the three files wb, collect, and mon to the root directory.
  • Option D: The tar command is used to create and extract archives. It is not used to copy files.