恢复内容开始 部分参考:https://tool.oschina.net/regex# 只能有汉字,数字,字母。不能全为数字或字母: [a-z A-Z]+[\w-[a-zA-Z_]]+|[\w-[a-zA-Z_]]+[a-z A-Z]+|\d+[\w-[\d_]]+|[\w-[\d_]]+\d+ 邮 ...
分类:
Web程序 时间:
2021-03-03 12:06:21
阅读次数:
0
网络命令 - ifconfig 1. 查看所有网卡信息 ifconfig -a 2. 查看本机所有IP值信息 ifconfig | grep inet 3. 查看指定网卡IP值 ifconfig '网卡名称' ...
分类:
其他好文 时间:
2021-03-03 12:01:55
阅读次数:
0
查看程序对应的进程号: ps -ef | grep 进程名字 查看端口号所占用的进程: netstat -nltp | grep 端口 或者 netstat -anp | grep 端口 杀死进程 kill pid ...
分类:
系统相关 时间:
2021-03-02 12:19:11
阅读次数:
0
cd,pwd,ls,cp,mv,history,ps,top,netstat,grep,tar-cvf/xvf,这些是基本的 touch,cat,head,tail,跟文件相关 vim命令 vi,进入文件页, i,插入 esc,切换插入模式和命令模式,然后:wq,保存后退出 最近重点学习了awk命令 ...
分类:
系统相关 时间:
2021-03-02 11:57:34
阅读次数:
0
什么是正则表达式 正则表达式,又称规则表达式。(英语:Regular Expression,在代码中常简写为 regex、 regexp 或 RE),是计算机科学的一个概念。正则表达式通常被用来检索、替换那些符合某 个模式(规则)的文本。正则表达式并不仅限于某一种语言,但是在每种语言中有细微的差别。 ...
分类:
其他好文 时间:
2021-03-02 11:55:25
阅读次数:
0
1.定时任务 crontab -e s m h d month w cmd 2.任务后台执行 command & 3.查看进程 ps -ef|grep prcss 4.杀死进程 kill -9 pid 5.服务状态 service prcss_name status|start|stop|resta ...
分类:
系统相关 时间:
2021-03-01 14:17:23
阅读次数:
0
1.查看端口 netstat -anp|grep port netstat -antup 2.文件传输 wget [-options] args curl [-options] args lftp [-options] args 3.远程登录 telnet host_name port ssh [- ...
分类:
其他好文 时间:
2021-03-01 14:17:05
阅读次数:
0
root@M6708-T:/var/log# cat /proc/meminfoMemTotal: 1022988 kBMemFree: 622100 kBMemAvailable: 675396 kBBuffers: 81128 kBCached: 118656 kBSwapCached: 0 k ...
分类:
其他好文 时间:
2021-03-01 13:27:19
阅读次数:
0
同一个nginx配置文件,请求不同的域名可以指定对应的目录 nginx配置 cat long.conf server { listen 80; server_name a.com b.com c.com; location / { root /home/long/$host/; index inde ...
分类:
其他好文 时间:
2021-02-27 13:10:39
阅读次数:
0
也不知道为什么喜欢叫爬虫 搞明白原理之后原来就是解析网页代码获取关键字符串 现在的网页有很多解析出来就是JS了,根本不暴露资源地址 依赖一个JSOUP,其他靠百度CV实现 <!-- https://mvnrepository.com/artifact/org.jsoup/jsoup --> <dep ...
分类:
编程语言 时间:
2021-02-26 13:24:45
阅读次数:
0