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 to sort the content of the file based on numeric values
Which command is used to delete all files in the current directory and all its sub-directories?
What are reported commands?
Is grep faster than awk?
What does 'mkdir' command do in UNIX?
How do I open a port?
What are bash commands?
Explain command to view process running?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is the difference between awk and grep?
What is the use of sed command in unix?
What is the unix command to confirm a remote host is alive or not?
What happens when we execute a unix command?
Who command in unix?
What does touch command do in unix?