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

in UNIX ,What is the command to view contents of a large error log file?

7 Answers  


Describe the usage and functionality of the command rm –r * in unix?

2 Answers  


Write a command that will output the sorted contents of a file named in.txt and place the output in another file named out.txt, while at the same time excluding duplicate entries.

1 Answers  


How do I open a port?

0 Answers  


What is “chmod” command?

0 Answers  


What is sed awk grep?

0 Answers  


Explain mount and unmount command.

0 Answers  


Does cp command overwrite files?

0 Answers  


In vi editor how do you execute unix commands?

10 Answers  


What do chown command do?

0 Answers  


What is rmdir command?

0 Answers  


how many internal commands is there in UNIX?

3 Answers   TCS, Virtusa,


Categories