当前位置:网站首页>Create SQLite table with shell script and add SQL statement -- General
Create SQLite table with shell script and add SQL statement -- General
2022-06-25 03:47:00 【Diving rice awn】
It is important to use EOF The function of , Pro test and ! Consistent function ; Here is the test code
#!/bin/bash
val=`ls`
for v in ${val}
do
if [ ${v} == "test.db" ]
then
rm test.db
echo "rm test.db"
fi
done
sqlite test.db << EOF create table test(name char,sex char); insert into test values("yang","nan"); select * from test; .quit EOF
EOF Injection content EOF end
边栏推荐
- Self cultivation and learning encouragement
- TensorFlow,危!抛弃者正是谷歌自己
- Insurance app aging service evaluation analysis 2022 issue 06
- There is the word "Internet" in the concept of industrial Internet, but it is an existence that is not related to the Internet
- CVPR大会现场纪念孙剑博士,最佳学生论文授予同济阿里,李飞飞获黄煦涛纪念奖...
- Lu Qi invests in quantum computing for the first time
- The more AI evolves, the more it resembles the human brain! Meta found the "prefrontal cortex" of the machine. AI scholars and neuroscientists were surprised
- 做自媒体不知道怎样变现?7大变现方法分享
- 存算一体芯片离普及还有多远?听听从业者怎么说 | 对撞派 x 后摩智能
- 亚马逊在中国的另一面
猜你喜欢

AI自己写代码让智能体进化!OpenAI的大模型有“人类思想”那味了

发布功能完成02《ivx低代码签到系统制作》

MySQL根据表前缀批量修改、删除表

XML modeling

存算一体芯片离普及还有多远?听听从业者怎么说 | 对撞派 x 后摩智能

The release function completed 02 "IVX low code sign in system production"

Tensorflow, danger! Google itself is the one who abandoned it

孙武玩《魔兽》?有图有真相

Amazon's other side in China

China's SkyEye found suspicious signals of extraterrestrial civilization. Musk said that the Starship began its orbital test flight in July. Netinfo office: app should not force users to agree to proc
随机推荐
居家办公之后才明白的时间管理 | 社区征文
What is an SSL certificate and what are the benefits of having an SSL certificate?
Svn deployment
Program. Launch (xxx) open file
老叶的祝福
EasyNVR使用Onvif探测设备失败,显示“无数据”是什么原因?
The sign in function completes 03 "IVX low code sign in system production"
【Rust投稿】捋捋 Rust 中的 impl Trait 和 dyn Trait
用CPU方案打破内存墙?学PayPal堆傲腾扩容量,漏查欺诈交易量可降至1/30
孙武玩《魔兽》?有图有真相
Is it safe to open an account on your mobile phone?
[proteus simulation] Arduino uno+ relay controls lighting equipment
北大换新校长!中国科学院院士龚旗煌接任,15岁考上北大物理系
存算一体芯片离普及还有多远?听听从业者怎么说 | 对撞派 x 后摩智能
Li Kou daily question - day 26 -506 Relative rank
Is it safe to open an account with flush securities?
Three key explanations of overseas e-commerce operation in 2022
Eggservice builds the basic service of wechat official account
ICML 2022 | 字节跳动 AI Lab 提出多模态模型:X-VLM,学习视觉和语言的多粒度对齐...
威马招股书拆解:电动竞争已结束,智能排位赛刚开始