cp command in Linux
The cp command of Linux is equivalent to copy-paste and cut-paste in Windows.
Command:
Output:
Here we used ls to view the files and then used cp to copy the files of first.txt to second.txt and again used ls command to view the updated files.
25 Basic Linux Commands For Beginners
While performing a task, we all need shortcuts. Shortcuts help us to complete a task quickly. Linux comes with such commands which are one to two words, using that commands, you can perform several operations in no time. As a beginner, you must be aware of those basic Linux commands to complete an operation in a short time in the Linux-based operating system.
In this article, you’ll be going through some of the basic Linux commands which beginners can use to complete their tasks very quickly. Let’s go through each, but before that have a short idea on Linux.