1
vote
2answers
109 views

How to use date functions for linux batch specile?

First, I wasn't sure if belonged to StackOverflow or here, but figure this would be more applicable to server administration. We have a .tar backup file going to an offsite backup server each day as ...
0
votes
1answer
92 views

on suse11 executables are run using sh instead of bash. How to change this

On Suse 11 though the default shell is bash, when I run any executable shell like ./IsCurrentShell then this script is run using sh instead of bash. How can I make this behavior to change such that ...
0
votes
1answer
117 views

Problem restoring from tar backup: why are there /dev/disk/by-id/ symlinks and how can I avoid them?

I'm trying to make a bare-bone backup system with the most basic tools available on openSUSE 11.3 (in this case: bash, fdisk, tar & grub legacy) Here's the workflow for my scripts: backup.sh: ...
0
votes
7answers
2k views

Why isn't my shell script executing on startup

I'd like my openSuse 11.1 server to run a small shell script on startup. I've created a the script and put a symbolic link to the script in /etc/init.d/rc5.d/. Yet, the script does not get executed. ...