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
what is the advaantage of each user having its own copy of the shell?
What do know about tee command and its usage?
What is grep in bash?
how to sort the content of the file based on numeric values
What are grep patterns?
What is grep and how do you use it?
What is merge command in unix?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What does the md command do?
What does find command return in unix?
Why is awk called awk?
What is .sh file?
What is the use of egrep command in unix?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What command is used to check the current users?