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
Which command is used to create a directory?
What is ctrl d?
Why is it called grep?
How does the system know where one command ends and another begins?
What does grep v grep do?
How does pipe () work?
What is s and g in sed command?
What command is used to switching between users in unix?
What do chown command do?
How do you repeat a command in terminal?
Write a command to kill the last background job?
Name the unix command to find how many days the server has been up.
Explain command to display different lines that are found when compare two files?
What is the comma to show the space allocation of files?
What is the use of egrep command in unix?