Linux 下查看sqlite文件
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
序言
对于我这种服务器资源紧张,但是又有数据库需求的用户来说,sqlite就是一个不错的选择,所以就需要对sqlite进行CRUD,windows下还比较容易操作sqlite,但是linux下就需要一些工具才可以,所以这里就简单描述一下如何在linux下查看SQLite文件
1.下载sqlite-tools-linux
我们可以到SQLite官网下载(这个也有windows的版本) sqlite-tool-linux工具,然后将下载的zip包上传到服务器上
当然也可以用wget命令进行下载
wget https://www.sqlite.org/2019/sqlite-tools-linux-x86-3280000.zip
2.解压zip包
unzip sqlite-tools-linux-x86-3280000.zip
3.打开sqlite.db
先进入到我们解压的目录
cd sqlite-tools-linux-x86-3280000
然后用sqlite3命令
./sqlite3 /data/db/你的db文件.db
这样就会到你的sqlite文件命令行,然后进行select,updata,insert,delete
具体使用
具体使用请自己查阅文档
(借鉴)参考链接




A beautiful web dashboard for Linux
最近提交(Master分支:30 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)