![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
aoxs_-
懒得一批
展开
-
linux命令行获取ip归属地及运营商
https://ip.cn/ 可以查询ip归属地和运营商信息linux命令行下使用curl获取页面信息,通过grep查找关键字,再通过awk打印出需要的关键字命令如下curl -s --user-agent foobar https://ip.cn/index.php?ip=$ip | grep ‘所在地理位置’ | awk -F ‘>’ ‘{print $4,$8}’ | awk...原创 2019-06-24 21:23:03 · 3294 阅读 · 0 评论 -
linux常用命令yum包
没有killall命令安装psmiscyum install psmisc原创 2019-07-09 10:50:38 · 195 阅读 · 0 评论 -
vim去除^M
记录::%s/^M//gvim去除^M:%s/Ctrl+v Ctrl+m//g原创 2019-06-28 18:04:46 · 1068 阅读 · 0 评论 -
mysql 报错 Ignoring query to other database
记录一个小错误# mysql -root -pEnter password: Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 5943324Server version: 5.6.40-log Source distribution>Copyright (c...原创 2019-08-03 19:34:30 · 134 阅读 · 0 评论