hi i have directories within the directory. Now i want to
copy the directory along with all directories included in it
to one location by using copy command? what is the command
Answer Posted / anshul basra
Try this command:
cp -r /home/anshul/files/* /home/anshul/backup
It will recursively copy all the content of directory
called 'files' to the directory 'backup'.
Hope this will help you..!
Takecare..
Is This Answer Correct ? | 29 Yes | 2 No |
Post New Answer View All Answers
How does the system know where one command ends and another begins?
What difference between cmp and diff commands?
Why is grep called grep?
What is time_t?
Does cp command overwrite files?
What is the difference between grep and grep?
What is nr in awk command?
What happens when we execute a unix command?
What is awk used for?
Is command prompt unix?
How do you repeat a command in terminal?
Enlist some filename manipulation commands in unix.
Which unix command to make a new directory?
What is the unix command to confirm a remote host is alive or not?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?