Re: Backup script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Paul Howarth wrote:
bernd pinter wrote:
i have the same problem half a year ago: you need a blank in the first row of the script!

use:
#! /bin/bash

that should work...

Having a space there shouldn't make any difference. Try it with a simple script for yourself.

that's exactly what i thought. but i had a script (perl) wich couldn't startet by the bash, since it doesn't know which programm to take for that script. so i google'd around and found a definition of the 1st row. and it says: "leave a blank betwenn !# and the rest."
i did it, and it works (also on the target-machine: debian-woody)!

bernd


Paul.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux