[martin@martin sqlite]$ ll
итого 4
-rw-rw-r-- 1 martin martin 247 Окт 17 23:32 test.sql
[martin@martin sqlite]$ sqlite3 test.db < test.sql
[martin@martin sqlite]$ ll
итого 8
-rw-r--r-- 1 martin martin 2048 Окт 17 23:33 test.db
-rw-rw-r-- 1 martin martin 247 Окт 17 23:32 test.sql
[martin@martin sqlite]$ cat test.sql
create table test (id integer primary key, value text);
insert into test (id, value) values(1, 'barsik');
insert into test (id, value) values (2, 'murzik');
insert into test (value) values('vaska');
insert into test (value) values ('ryzhik');
[martin@martin sqlite]$