12 2021 档案
摘要:curl -s http://www.net.cn/static/customercare/yourip.asp |grep -P -o "[0-9.]+(?=</h2>)" 压缩网址302跳转需要调整curl的参数 curl -L -s https://dh6.ink/yourip |grep -
阅读全文
摘要:全力输出 tar -c 文件 | pbzip2 -c -k > 文件.tar.bz2 限制10个核心 tar -c 文件 | pbzip2 -c -p10 -k > 文件.tar.bz2 解压tar文件 pbzip2 -cd test.tar.bz2 | tar xv 单文件 压缩: pbzip2
阅读全文
摘要:Invoke-WebRequest简单用法1.用途Gets content from a web page on the Internet.获取http web请求访问内容 2.语法SyntaxParameter Set: DefaultInvoke-WebRequest [-Uri] <Uri>
阅读全文
摘要:假设你发现前台运行的一个程序需要很长的时间,但是需要干其他的事情,你就可以用 Ctrl-Z ,挂起这个程序,然后可以看到系统提示(方括号中的是作业号): [1]+ Stopped /root/bin/正在执行的程序文件 现在程序是暂停的,要继续运行需要输入 bg 1 想切回前台需要 fg 1 再想切
阅读全文