Two great uses for the cp command: Bash shortcuts

Full Article :

Opensource.com - https://opensource.com/article/18/1/two-great-uses-cp-command-update

Last July, I wrote about two great uses for the cp command: making a backup of a file, and synchronizing a secondary copy of a folder.

Having discovered these great utilities, I find that they are more verbose than necessary, so I created shortcuts to them in my Bash shell startup script. I thought I’d share these shortcuts in case they are useful to others or could offer inspiration to Bash users who haven’t quite taken on aliases or shell functions.

read more

Leave a Comment

%d bloggers like this: