I'm trying to backup a specific folder in Linux (Red Hat) and been trying to come up with very simple script to do so. I'm mkdir a directory call 'backup'. Then I tar the folder I want and have it dump to the folder call 'backup'. After that, I cp the file to a Windows Network Share. The problem is every time I run these command in a script format in bash, it chokes. Just wondering what I'm doing wrong?