How to copy a file in linux?



How to copy a file in linux?..

Answer / Abhinav Kashyap

To copy a file in Linux, you can use the 'cp' command. The syntax is 'cp sourcefile destinationfile'. For example, 'cp sourcefile /destination/path/destionationfile' will create a copy of 'sourcefile' at '/destination/path/destinationfile'.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux General Interview Questions

What are different types of linux?

1 Answers  


How do you execute a file in linux?

1 Answers  


Name the linux loader.

1 Answers  


What are benefits of linux?

1 Answers  


Compare cron and anacron in linux with an example?

1 Answers  


Which type of application can be run on linux?

1 Answers  


How do you list contents of a directory including all of its subdirectories, providing full details and sorted by modification time?

1 Answers  


Write a bash script to delete all the files in the current directory that contains the word “linux”.

1 Answers  


What is a shell program in linux?

1 Answers  


What does grep() stand for?

1 Answers  


How to find where a file is stored in linux?

1 Answers  


Is it possible to install Linux RHEL5 os along with fedora14 linux os in one system ?

2 Answers   IBM,


Categories