Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
scripting help
Name: deity_me Date: August 10, 2004 at 14:35:59 Pacific OS: Redhat 9 CPU/Ram: P2 400
Comment:
Hi I need help writing a script for something I need to write a script to backup my MySQL database
basically my command is this
mysqldump -p -B WEB > file
this asks me for my password and then proceeds to write to file
what I want to do is script it so that it doesnt ask me for a password it takes the password automatically from the script and to change the name of the file to the current date.
Thanks
Money not an issue? Where do you live and when are you not home? I'm not gonna rob you, I'm just gonna steal some stuff
Summary: i need help with a shell script that passes a variable. why does this not work?: echo $`echo 1` i want this to produce the same result as echo $1 but instead of the first option given at the command...
Summary: I have a unix script written in fortran that I'm trying to compile on my Linux machine (redhat 7.1). Unfortunately, I'm new to linux and I'm not having any luck. The program lists several ways to com...
Summary: I need to test if the first arguement entered is of the word "help" or "?" I tried this by do this: if test $1 = help or if test $1 = \? then 'do something fi this does not work. I am new to scripting...