How to copy multiple files and directories into some other
directory?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sangu
sorry for the previous post
cp -r test2 test1/
will work.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / sangu
If suppose the current working directory is test
i.e /home/test which contains the subdirectories test1
test2 if test2 to be copied in test1 the command is
cp test2 test1/
Now test1 will contain the test2 directory
| Is This Answer Correct ? | 1 Yes | 2 No |
what is the command to print last 8 lines of any text file.
How do you create a file in UNIX
36 Answers Accenture, EMG, Nokia, QA, TD,
what is the use of ls -l command & what is the information it gives about user ?
How do you change your account's password?
what does a process mean?
Explain the steps that a shell follows while processing a command.
what are wild cards?
What is the nmap command?
describe the escaping sequence characteres in unix
What is the syntax of grep command and what is its use?
Which command is used to copy files?
which script will invoke first ,when /etc/init.d starts