Jun 2, 2025
cp command in bash for copying files, similar to Windows.myverycoolfile.txt to the desktop, use:
cp myverycoolfile.txt ~/Desktop
* to select files with specific patterns..png files to the desktop:
cp *.png ~/Desktop
pizza.png, soda.png, cake.png.-R with cp to copy directories.cat_pictures to the desktop:
cp -R cat_pictures ~/Desktop
cp command.