Copying multiple specific files from one folder to another

There are several ways you could achieve this. The easiest I have seen is to use the following. cp /home/usr/dir/{file1,file2,file3,file4} /home/usr/destination/ cp /home/usr/dir/{file1,file2,file3,file4} /home/usr/destination/ The syntax uses the cp command followed by the path to the directory the desired files are located in with all the files you wish to copy wrapped in brackets and […]