So I'm trying this command on Bash:
sqlite3 my_db <<! .header on .mode csv select * from table; ! It works, but I want to redirect that output to output.csv.
sqlite3 my_db <<! .header on .mode csv select * from table; ! > output.csv ...but bash seems to think I'm not done with the command:
... $ > $ > $ > ^C $ What does Bash want from me? Why can't I get it to redirect the output to my .csv file?
Thanks