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 |
distinguish between multi-tasking,multi-user,multi- processing and time sharing?
7 Answers Alcatel, Cisco, Infosys, University Exams,
When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?
How does the user view the contents of a text file in UNIX?
What are file commands?
their is a file1,file2 and i want to append file1 data to file2?
How to check whether some services are running in another server or not? Suppose i am currently in a server named A.I want to check whether some services are running in server B without logging into the server B.
3 Answers Amazon, MBA, Syntel, TCS, Unisys,
Can you enlist some commonly used network commands?
how to delete entire records in unix ?
Name the various commands that are used for the user information in unix.
How to remove a crontab file?
Can a process kill itself in UNIX/or in its various versions?
What do chgrp command do?