in UNIX,How to copy file into directory?

Answers were Sorted based on User's Feedback



in UNIX,How to copy file into directory? ..

Answer / neena

cp text.txt sample

I want to copy the file(text.txt) from sample1(directory)
to sample directory

Is This Answer Correct ?    1 Yes 0 No

in UNIX,How to copy file into directory? ..

Answer / vijay

cp filename directorypath

Is This Answer Correct ?    4 Yes 4 No

in UNIX,How to copy file into directory? ..

Answer / jagadeeb choudhury

cp source destination

Cp path_a.txt Path/




Thanks,
Jagadeeb@gmail.com

Is This Answer Correct ?    1 Yes 1 No

in UNIX,How to copy file into directory? ..

Answer / shiva

Take a file to be copied into a directory say file1 to
DIRECTORY.

cp file1 DIRECTORY.

Is This Answer Correct ?    0 Yes 0 No

in UNIX,How to copy file into directory? ..

Answer / yuvaevergreen

cp filename1 filename2

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

what does the 'tee' command do?

4 Answers  


Which command is used to copy files?

0 Answers  


What is clustering in HP and how it's work?

1 Answers   HP,


How to display no of records in oracle using unix command?

0 Answers  


why unix commands can be divided into internal and external commands?

3 Answers   Informatica,






Can you explain a little bit about command substitution?

0 Answers  


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

0 Answers   CGI,


What is command substitution?

0 Answers  


Write a command to find all of the files which have been accessed within the last 30 days.

14 Answers   Cisco,


What command will bring user back to their home directory in UNIX?

13 Answers   IBM, Wipro,


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

0 Answers  


What is grep command in unix with examples?

0 Answers  


Categories