Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can you copy files or directories?

Answer Posted / hr@tgksolutions.com

To duplicate files or directories, UNIX offers the cp command. For copying files, the syntax is cp source_file destination_directory/. If duplicating a directory, the -r option (meaning recursive) must be added, as in cp -r source_directory destination_directory/. This ensures all sub-files and sub-directories are replicated too. The cp command is fundamental when backing up data or creating duplicate research resources.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the unix commands?

1036


What does the “echo” command do?

1105


What does the metacharacter mean?

1097


Explain ‘library functions’ with respect to unix commands?

1124


What is grep short for?

1007


How do I clear my terminal history?

1101


How do I find previous commands in unix?

1137


What are the commands in UNIX to list the files in a Directory?

1117


How do you repeat a command in terminal?

1161


What does grep v grep do?

1037


What is the difference between cat command and more command?

1136


What is the unix command to confirm a remote host is alive or not?

1150


What does the command ' $who | sort –logfile > newfile' do?

1245


What does sed command do in unix?

1126


Which command can you use to find the currently running process in unix server?

1073