FUNDAMENTALS OF COMPUTER

OPERATING SYSTEMS FOR COMPUTERS

COMMAND LINE INTERFACE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which command copies files from a Linux shell?
A
copy
B
cp
C
mv
D
xp
Explanation: 

Detailed explanation-1: -You use the cp command for copying files from one location to another. This command can also copy directories (folders).

Detailed explanation-2: -CP is the command used in Unix and Linux to copy your files or directories.

Detailed explanation-3: -The cp Command cp stands for copy. This command is used to copy files or group of files or directories. It creates an exact copy of a file on a disk with different file name.

Detailed explanation-4: -Copying Directories with cp Command To copy a directory, including all its files and subdirectories, use the-R or-r option. The command above creates the destination directory and recursively copy all files and subdirectories from the source to the destination directory.

There is 1 question to complete.