0 votes
in Linux by
How to copy a file in Linux?

1 Answer

0 votes
by
How to copy a file in Linux?

You can use the cp command to copy a file in Linux. The general syntax is:

$ cp <source> <destination>

Suppose you want to copy a file named questions.txt from the directory /new/linux to /linux/interview, then the command will be:

$ cp questions.txt /new/linux /linux/interview

Related questions

+1 vote
asked Feb 20, 2021 in Linux by SakshiSharma
0 votes
asked Nov 11, 2020 in Linux by sharadyadav1986
...