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 echo is used for

10 Answers   BFL, BirlaSoft, Patni,


What is the use of the tee command?

0 Answers  


how to find largest file?

14 Answers   HCL, Microsoft, Thomson Reuters,


How does shebang work?

0 Answers  


what is the command to list all files in a directory, including the hidden files in UNIX ?

9 Answers   CTS,






What is the difference between udp and tcp?

2 Answers   HCL, TCS,


what is the difference between SED and GREP ? Which one is more better and why?

4 Answers   IBM,


What difference between cmp and diff commands?

0 Answers  


in UNIX,How do you check for processes started by particular user suppose the user name is 'suresh'?

6 Answers  


what these two commands prints "echo test","cat test"?

6 Answers   TCS, Wipro,


Which command will print your home directory on screen?

0 Answers  


How does pipe () work?

0 Answers  


Categories