158 articles
Friday, May 27, 2022
linux stdio.h: No such file or directory的解决方法 Linux编译某个程序报错,如下 ./src/arith.c:32:10: fatal error: stdio.h: No such file or directory 32 | include <s...
Monday, May 23, 2022
archive 档案馆,让我找回了十年前的文章 https://web.archive.org/ 是一个网站快照存储的档案馆 基本上只要域名注册并架设了相关内容一段时间 web.archive.org都会留存该域名的相关快照,基本上是每天的快照都有 你可以理解为web.archive.org使用爬虫...
Monday, May 16, 2022
Debian系统webpack: not found的解决方法 apt-get install nodejs apt-get install npm npm install --save-dev webpack@latest webpack-cli@latest 解决
Saturday, May 14, 2022
-bash: dig: command not found solution Because the dig component is not installed in the system, the following is the installation method debian/ubunt...
-bash: dig: command not found的解决方法 因为dig组件没有安装在系统,下面是安装方法 debian/ubuntu系统 apt install dnsutils centos/fedora系统 yum install bind-utils Arch Linux系统 pac...
Saturday, Oct 16, 2021
Linux系统快速清空日记内容的方法 注意是情况不是删除日记,这样做是为了防止有些程序不会自动创建日记,导致一些问题 为了最安全的方法,还是情况日记内 echo "" > filename.log or echo > filename.log
shell监控文件变动后执行自定义命令 主要是监测指定文件夹内的变动,比如修改,删除,创建等等 apt-get install inotify-tools -y !/bin/bash DIR=/var/www/dmoain/ inotifywait -m -e closewrite $DIR --...
Thursday, Sep 16, 2021
使用ps -aux 发现了可疑的脚本在运行 通过执行cat failebane.sh发现脚本是加密的 netstat -antlp | more netstat -anltp | grep $pid ls -l /proc/$PID last 上面的命令都逐一检查,还是不清楚这个脚本的来源 或者说是...
Wednesday, Sep 15, 2021
Linux系统查看系统运行端口的两条命令 权当备份收藏,因为经常用得到 lsof -i:8089 netstat -tlnp | grep :8089 或者直接使用下面的命令可查看Linux系统所有运行的端口 netstat -tlnp
Tuesday, Aug 24, 2021
Modify the /etc/sysctl.conf file and add the following net.ipv6.conf.all.disableipv6=1 net.ipv6.conf.default.disableipv6=1 net.ipv6.conf.lo.disableipv...