“cp” is a built-in tool for all the UNIX-based platforms that are used to make copies of the file(s) and directory(s). As the name of the tool suggests, “cp” is an abbreviation of “copy”.
There are tons of copying and pasting options ongoing in the system, right? Almost all of them are performed with the help of “cp”. It's a very simplistic tool with simplistic usage. However, there are a couple of interesting caveats that you need to know.
Without further ado, let's check out the usage of “cp” on Linux. I'll be demonstrating the usage on Manjaro Linux - an awesome Linux distro based on Arch Linux. Learn how to install Manjaro Linux.
For any Linux tool, I'd like to start my guide with the following one.
which cp
“which” shows the full path of the executables that would be in effect if the command was to run. In this case, whenever “cp” is run, it'll launch from “/usr/bin” directory.
cp usage
“cp” uses the following command structure for all of its actions.
Sukurti savo transporto modeliavimą gali būti smagu, atpalaiduojanti ir be galo viliojanti. Štai kodėl jūs turite įsitikinti, kad išbandėte kuo daugia...
„OpenTTD“ yra vienas iš populiariausių verslo modeliavimo žaidimų. Šiame žaidime turite sukurti nuostabų transporto verslą. Tačiau pradėsite nuo mažda...
„SuperTuxKart“ yra puikus pavadinimas, sukurtas nemokamai suteikti „Mario Kart“ patirtį jūsų „Linux“ sistemoje. Tai gana sudėtinga ir smagu žaisti, yr...