linux guru
Monday, April 19, 2010
dump mysql record into a txt file - under linux
step 1 : create a sql file wg.sql
SELECT signature FROM sig_db.signatures ;
Step 2: create shell script file: wg.sh
mysql -N -u yourusername -pyourpassword sig_db < wg.sql > wg.rules
Step 3: run wg.sh
./wg.sh
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Ruby on Rails Paperclip tutorial - rails 4.0.3, Ruby 2.1, Paperclip 4.1.1
Step 1, New a project rails new demo Step 2, Update Gemfile add paperclip, mysql2 gem, enable JavaScript runtime gem 'mysql2' ...
gunzip: aaa.zip: unknown suffix -- ignored
I used 7z to zip this file under Windows, try to unzip it under linux [ang@walker temp]$ gunzip 2011.sdf.zip gunzip: 2011.sdf.zip: unkno...
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