I am trying to execute the command : wc -l US.txt inside the sqlite3 terminal but I keep getting the following error:

Error: near "wc": syntax error

This is the sequel of the commands I am trying to execute:

sqlite> wc -l US.txt

...> SELECT COUNT(*) FROM places;

And after these I get the error. I could really use any help.

1 Answer 1


wc is a linux command, not sqlite command.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .