running sqlite3 script inside bash -
i trying run multiple commands bash file of sqlite3 on ubuntu 15.10. code pull passwords user's google chrome , email them. have sqlite3 part down. i'm trying make simple , easy use them possible. don't know sqlite3 , it's kicking tail. how produce bash file using sqlite3 code?
sqlite3 'login data' .mode csv .headers on .separator "," .output userspw.csv select * logins; .exit
the answer simple enough. inside batch can echo large data << eof structure.
sqlite3 'login data' << eof .mode csv .headers on .separator "," .output userpw.csv select * logins; .exit eof this created results needing.
Comments
Post a Comment