hi folks
i'm write these line in a file with name "qlite.sql"
Code:
create table tb1(name varchar(20),family varchar(20),age integer);
insert into tb1 values("reza","aghazade",22);
insert into tb1 values("amin","aghajani",20);
.mode column
.separator :
.header on
select * from tb1;
& do interActive shellScript in offline Script
Code:
sqlite3 myDB < sqlite.sqlcat
i want to use this bellow code like above,,but it didn't work
Code:
passwd=123098
su root <<EOF
>$passwd
EOF
but it did't work
can enbody know about that?
how to do that?