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 happens when we execute a unix command?
Which command is used to kill the last background job?
What is grep short for?
What is ‘ps’ command for?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What command is used to switching between users in unix?
Differentiate cmp command from diff command.
Enlist some filename manipulation commands in unix.
What are grep patterns?
How do you grep a case insensitive?
What do chmod, chown, chgrp commands do?
How to use grep command to list find the records of a file containing 10 different strings?
What is the nmap command?
What will the following command do?
What is the unix command to confirm a remote host is alive or not?