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

distinguish between paging and swapping?

3 Answers   Infosys,


Which command is used to copy files?

0 Answers  


Is ‘du’ a command? If so, what is its use?

0 Answers  


What is ‘ps’ command for?

0 Answers  


How can we use grep command in unix?

0 Answers  






What is use of sed command?

12 Answers   BitWise, Infosys, Reliance,


When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?

3 Answers  


How to view the hidden files in /etc directory?

10 Answers  


distinguish between physical addresses and logical address?

23 Answers   College School Exams Tests, CTS, Infosys, SAX, TATA, TCS,


Why is awk called awk?

0 Answers  


How do I use grep to find a file?

0 Answers  


what is the use of uniq commmand?

8 Answers  


Categories