linux guru
Wednesday, March 16, 2011
Run MySQL SQL queries on Linux command line
This is a shell script
#!/bin/bash
deletelist="delete from capture_files where date(updated_on) < DATE_SUB(CURdate(), INTERVAL 30 DAY);"
mysql -u dbuser -pdbpasswd amp -e "$deletelist"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
How to reactivate your SSL
How to reactivate your SSL https://www.ssls.com/
mac laptop copy paste to iphone not working
Here are the steps: Open the Terminal app on your Mac (Applications > Utilities) Now, we will first delete Clipboard sharing and then en...
transmission 403 unauthorized ip address
When trying to access transmission from web-browswer i got the message : 403: Forbidden Unauthorized IP Address. Either disable the IP ad...
No comments:
Post a Comment