- 博客(16)
- 收藏
- 关注
原创 find后进行shell命令
sudo find …/…/ -name “filenamepattern”|awk -F/ ‘{system("ln "0""0" "0""NF)}’
2019-03-14 11:22:06
724
原创 双栈域名如何强制ipv6访问
hosts中,添加ipv6域名解析chrome://net-internals/#dns clear host cache即可访问
2019-03-07 21:23:49
5207
原创 powershell netcat out-file
powershell netcat out-file在windows上用nc,如果在powershell中,无论用out-file的哪一种encoding,都无法正确存入文件。在cmd中正常。
2018-10-12 17:25:00
364
原创 grep文件名,内容,然后复制到文件夹中
grep -l “innercontent” –include=”filepattern” ./* | xargs cp -t destdir
2018-09-06 16:20:33
3208
原创 nodejs中的emit
昨天出现一个bug 才知道 emit不会等当前函数走完,而是强行插入listener的回调函数,运行完了之后才继续当前函数。
2018-08-07 10:00:34
2059
原创 rtorrent一键安装脚本rtinst指定版本号
https://github.com/arakasi72/rtinstsudo bash -c “$(wget –no-check-certificate -qO - https://raw.githubusercontent.com/arakasi72/rtinst/master/rtsetup)”如果下面直接 sudo rtinst会直接安装0.9.6版本,此版本数据计算有误,许多站...
2018-08-06 20:38:02
835
原创 升级ubuntu内核并开启BBR
1,首先要求内核4.9以上 uname -r 升级内核方法: 去http://kernel.ubuntu.com/~kernel-ppa/mainline/去找一个合适的内核 如4.16,下载三个文件 wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16/linux-headers-4.16.0-041600_4.16.0-04...
2018-08-06 20:24:22
1798
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人