获取 wordpress 网站文章链接
``` import re import bs4 import urllib.request # url_home = 'http://www.5bug.wang/' # 要采集的网站 url_home = 'https://www.baimeidashu.com/' # 要采集的网站 url_pattern = url_hom...
51工具盒子
``` import re import bs4 import urllib.request # url_home = 'http://www.5bug.wang/' # 要采集的网站 url_home = 'https://www.baimeidashu.com/' # 要采集的网站 url_pattern = url_hom...
linux [awk](https://www.baimeidashu.com/tag/awk "View all posts in awk")命令 可以说 处理文件内容使我们程序员的利器,也被称为三剑客 之首( awk , sed ,[grep](https://www.baimeidashu.com/tag/grep "View all pos...
大家好,我是你的好朋友 白眉大叔, 上次我们介绍了,[linux 系统的文件属性](https://www.baimeidashu.com/7252.html), 是一个基础入门的内容 ,作为新手必须掌握, 不懂的可以去看看, 今天我们来看看 linux [find](https://www.baimeidashu.com/tag/find "View all pos...
1- 排除某个目录 https://www.baimeidashu.com/tag/tar -Pczvf /var/log/logs.tar.gz /var/log/* --exclude=/var/log/nginx //目录后面不要加斜杠 "/" 大家好,我是你的好朋友 白眉大叔,这篇文章主要介绍 中linux压缩文件夹命令 zip ta...
<p>linux <a href="https://www.baimeidashu.com/tag/xargs" title="View all posts in xargs">xargs</a>命令 的作用: 将前面命令输出的结果甩到最后面去。</p> <p>-n 按列输出。&...
linux 文件的八个属性 我们可以用 [ll -i](https://www.baimeidashu.com/tag/ll-i "View all posts in ll -i") 来查看: \[root@baimeidashu /etc\]#ll -i ![](http://static.51tbox.com/static/2024-08-29/co...
作为新手朋友,有必要系统的掌握 linux 安装软件的常用方式, 白眉大叔这里用的centos7 ,主要介绍3种, 前2种是经常用的,必须掌握 第一种: yum 方式安装 ------------- **方法: [yum -y](https://www.baimeidashu.com/tag/yum-y "View all posts in yum -y&quo...
问:打包文件/etc/hosts /etc/passwd 放入/opt目录下 名称为all.tar.gz 答: tar -zcvf /opt/all.tar.gz /etc/hosts /etc/passwd ![](http://static.51tbox.com/static/2024-08-29/col/d27ef4d5f7628486b81fc3740490c745...
<p>问: 查找/data目录下大于7天前的文件并删除</p> <p>答: find /data -type f -mtime +7|xargs rm</p> <p><img src="http://static.51tbox.com/static/2024-08-29/col/d022f3aeaf46...
1、阿里云开发者社区 <https://developer.aliyun.com/mirror/> 2、网易开源镜像站 <https://mirrors.163.com/> 3、中国科学技术大学开源软件镜像 <http://mirrors.ustc.edu.cn/> 4、腾讯软件源 <https://mirrors.clo...