25 Jul
2001
25 Jul
'01
14:12
Hi! kann mir hier mal jemand den aufbau eines Shell Skriptes posten? bei mir läuft das irgendwie nicht! danke! Fogendes Skript habe ich mit vi erstellt und anschließend mit chmod 777 cpfiles für alle ausführbar gemacht -rwxrwxrwx. beim ausführen kommt die meldung: bash: cpfiles: command not found #!/bin/sh mount -t vfat /dev/fd0 /floppy mv /etc/squid.conf /etc/squid.conf.old mv /etc/hosts /etc/hosts.old cp /floppy/squid.conf /etc/squid.conf cp /floppy/hosts /etc/hosts chmod 644 /etc/squid.conf chmod 644 /etc/hosts umount /dev/fd0