07-09-2010
Thanks Radoulov,
Worked perfectly, now I just need to work out how it works
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I am running this script on Mandrakelinux release 10.1, 2.6.8.1-12mdksmp #1 SMP
I have also installed 'expect' separately.
I have created an Rsync script, but before any Rsync command does run, a MySql dump must be done first, and I am battling a bit to pass the MySql password from... (2 Replies)
Discussion started by: codenjanod
2 Replies
2. Shell Programming and Scripting
I'm trying to export a mysql query to a .csv file, right now I'm running a successful query like:
us_id=`mysql -u $USER_NAME --password=$PASSWORD -D "databasename" \
-e "SELECT * \
FROM databasename.table \
WHERE somefield >0 AND otherfield ='$ctry' \
ORDER BY... (1 Reply)
Discussion started by: unclecameron
1 Replies
3. Shell Programming and Scripting
Ok the issue I have is a bit complicated, for me, and my understanding of shell programming and bash is non-existent.
Background: I do web development for a team of programmers that make custom kernels for the Android OS. The guys are using a bash script (through gerrit or github, like I said... (4 Replies)
Discussion started by: Nyght
4 Replies
4. Shell Programming and Scripting
Can someone tell me the syntax to run a shell script from within MySQL? I know there is a way to do it, but I can't remember the syntax. I thought it was something like:
mysql> \. /user/myscript;
but I get this error:
Failed to open file '/user/myscript;', error: 2
Please help!... (4 Replies)
Discussion started by: peterv6
4 Replies
5. Programming
Hi,
I'm having problems with a script which some of you helped me with last week. It's a script to check the status of orders in an SQL database, and if the count(*) is zero, then the script stops. If it's non-zero, the script echos the result to a file and then in cron, I cat the file and mail... (3 Replies)
Discussion started by: davidm123SED
3 Replies
6. Shell Programming and Scripting
Hello!
I've got script to write. It should read databases (names, volumes) from table testdatabase and compares it to actually existing databases in /var/lib/mysql/. If there is no informations about database in table - we should see information "There is no declared informations about database... (1 Reply)
Discussion started by: Zimny
1 Replies
7. UNIX and Linux Applications
Hi,this doesnt give any output
mysql -uroot -phruti2 -B -e "use WebNmsDB;select HEADERINDEX from meas_headers where CLLI= '$clli' and IVALSTART>'$ivalstart' and IVALSTART<'$ivalend' and RPTTYPE='$rpttype';" > asdf.txt
This generates "good" output
mysql -uroot -phruti2 -B -e "use... (1 Reply)
Discussion started by: leghorn
1 Replies
8. Shell Programming and Scripting
1. bash
-bash escape rules, esp. ',",
-how to use Ctrl+R reverse cmd search with regex?
2. mysql
-how to use grep in mysql
3. php
-why !0 is not evaluated to true? what's its value
-php getopt: what if there is duplicate in cmdline args (2 Replies)
Discussion started by: John_Peter
2 Replies
9. Shell Programming and Scripting
I think(hope) I've got a simple one - I just need to send an email if a mysql query returns any results (ideally - it will never match).
Currently I just pipe the mysql query output to the mail program, but of course that emails regardless of the output( and I check this every 10 minutes from... (5 Replies)
Discussion started by: jcass78
5 Replies
10. Shell Programming and Scripting
Hi,
Below is my code to execute mysql statement , how to save the output to a file ?
#!/usr/bin/bash
#Script to run automated sql queries
#Declaring mysql DB connection
MASTER_DB_USER='root'
MASTER_DB_PASSWD='root'
MASTER_DB_PORT=3306
MASTER_DB_HOST='localhost'... (1 Reply)
Discussion started by: Pratik4891
1 Replies
xjack(6x) XScreenSaver manual xjack(6x)
NAME
xjack - all work and no play makes jack a dull boy
SYNOPSIS
xjack [-display host:display.screen] [-foreground color] [-background color] [-window] [-root] [-delay usecs] [-fps]
DESCRIPTION
All work and no play makes jack a dull boy. All work and no play makes jack a dull boy. All work and no play makes jack a dull boy. All
work and no play makes jack a dull boy. All work and no play makes jack a dull boy. All work and no play makes jack a dull boy.
All work and no play makes jack a dull boy. All work and no play makes jack a dull boy. All work and no play makes jack a dull
boy. All work and no play makes jack a dull boy. All work and no play makes jack a dull boy. All work and no play makes jack a
dull boy.
All work and no play makes jack a dull boy. All work and no play makes jack a dull boy. All work and no play makes jack a dull
boy. All work and no play makes jack a dull boy. All work and no play makes jack a dull boy. All work and no play makes jack a
dull boy. All work and no play makes jack a dull boy. All work and no play makes jack a dull boy.
All work and no play makes jack a dull boy. All work and no play makes jack a dull boy. All work and no play makes jack a dull boy. All
work and no play makes jack a dull boy. All work and no play makes jack a dull boy. All work and no play makes jack a dull boy. All work
and no play makes jack a dull boy. All work and no play makes jack a dull boy.
ENVIRONMENT
DISPLAY All work and no play makes jack a dull boy.
XENVIRONMENT
All work and no play makes jack a dull boy. All work and no play makes jack a dull boy.
SEE ALSO
X(1), xscreensaver(1)
COPYRIGHT
Copyright (C) 1997 by Jamie Zawinski. All work and no play makes jack a dull boy. All work and no play makes jack a dull boy. All work
and no play makes jack a dull boy. All work and no play makes jack a dull boy. All work and no play makes jack a fnord dull boy. All
work and no play makes jack a dull boy.
AUTHOR
Jamie Zawinski <jwz@jwz.org>, 15-Nov-97.
X Version 11 5.15 (28-Sep-2011) xjack(6x)