How to copy multiple files and directories into some other
directory?

Answer Posted / chets

cp <src_file1> <src_file2> <src_file3> <dest_dir>

In this case, each of the source files is copied into the
destination directory. This form of the command can be used
to copy all files in one directory into another directory.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is $0 bash?

876


What is difference between grep and find command in unix?

820


Explain command to display different lines that are found when compare two files?

870


What is the use of sed command in unix?

815


Write a command to display a file’s contents in various formats?

840






hw will u use awk in replacing cahrs and files

2917


How does the system know where one command ends and another begins?

1839


how to sort the content of the file based on numeric values

1496


How do I delete files from command prompt?

781


why metadb requires a seperate slice to create Solaris volume manager

2756


Why is it called a shebang?

783


Which command is used to delete all files in the current directory and all its sub-directories?

923


What is pipe command in unix?

880


What is grep r?

775


How do I open a port?

764