[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Shell Script Errors
- Subject: Re: [cobalt-developers] Shell Script Errors
- From: "Gerald Waugh" <gerald@xxxxxxxxx>
- Date: Fri Mar 2 20:41:16 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
"Kevin Thomson" <webservices@xxxxxxxxxxxxxx> wrote
ON: Friday, March 02, 2001 5:30 PM
> Alright, I'm writing a simple shell script to execute a few commands based
> on what time of day it is, after fixing the outdated and stripped down
> version of the date command cobalt has on its Qube3's I managed to get the
> command line to start printing out times via 'date +%H%M' (to print out
> Hour:Minute) but now I'm having problems with my case statments and I'm not
> sure why its happening. Below I'm stating the exact instances where I'm
> having problems:
>
> [root /root]# sh qubebackup-0.4.sh
> I run the shell script, it starts printing errors
>
> : command not found
> : command not found
> : command not found
> : command not found
> : command not found
> "t: unknown command "status
>
<snip>
Looks like a path issue.
You may need the complete path to the command.
Setting your variables are commands also;
Gerald