Mailinglist Archive: opensuse (4626 mails)

< Previous Next >
Re: [opensuse] Bash programming
  • From: Dave Howorth <dhoworth@xxxxxxxxxxxxxxxxx>
  • Date: Tue, 16 Jan 2007 12:53:46 +0000
  • Message-id: <45ACCADA.6010206@xxxxxxxxxxxxxxxxx>
John Meyer wrote:
> I've started with the following script:
>
> myfilename = $(date +%m%d%y) + ".tar.gz"
> echo $myfilename
>
> It is giving me this error: ./backupfiles.sh: line 1: myfilename:
> command not found. I know I'm doing something wrong here, just can't
> figure out what.

Well it's giving you that error because you have a space after
myfilename. But if you fix that error, it'll give you some more :(

I'd suggest typing "bash tutorial" into the form at
http://www.google.com/linux

Cheers, Dave
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References