Jan 112012
 

http://en.wikipedia.org/wiki/SQL

search using SQL

SELECT * from bash_history where  command LIKE '%modprobe%'

% is the wildcard character in SQL!

SQlite specifics

http://www.sqlite.org/lang.html

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)

Related Posts:

  One Response to “SQL”

  1. Better: SELECT * from bash_history where lower(command) LIKE ‘%modprobe%’

    ;)

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

 Leave a Reply

(required)

(required)


× 1 = five

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>