博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
一句话命令
阅读量:4049 次
发布时间:2019-05-25

本文共 737 字,大约阅读时间需要 2 分钟。

bash 类型

# 循环遍历下载,不下载父页面,文件已存在的话不下载wget -r -nc -np https://yum.dockerproject.org/repo/main/centos/# 分片20M 上传bypy -vvv -s 20M upload# mac用代理启动单个appproxychains open -a Airy.app# mac下查看端口占用nettop -nm tcp# brewbrew uninstall zshbrew services listbrew services startbrew services stopbrew services restart# 关闭所有磁盘的索引服务sudo mdutil -a -i off

 

IP

# 获取IP(国内)curl cip.cccurl haoip.cncurl ip.taobao.com/service/getIpInfo2.php?ip=myipcurl myip.ipip.netcurl ns1.dnspod.net:6666# 国外(json)curl ipinfo.iocurl ipinfo.io/ipcurl ipinfo.io/orgcurl ipinfo.io/8.8.8.8/orgcurl ifconfig.mecurl ifconfig.me/ip

 

Python

# 如果是相对路径,获取绝对路径if not os.path.isabs(some_path):     print os.path.realpath(some_path)# 获取脚本文件的路径print os.path.split(os.path.realpath(__file__))[0]

转载地址:http://eucci.baihongyu.com/

你可能感兴趣的文章
使用file查看可执行文件的平台性,x86 or arm ?
查看>>
qt5 everywhere 编译summary
查看>>
qt 创建异形窗体
查看>>
简单Linux C线程池
查看>>
内存池
查看>>
输入设备节点自动生成
查看>>
GNU hello代码分析
查看>>
Qt继电器控制板代码
查看>>
wpa_supplicant控制脚本
查看>>
gstreamer相关工具集合
查看>>
RS232 四入四出模块控制代码
查看>>
linux 驱动开发 头文件
查看>>
container_of()传入结构体中的成员,返回该结构体的首地址
查看>>
ipconfig,ifconfig,iwconfig
查看>>
opensuse12.2 PL2303 minicom
查看>>
网络视频服务器移植
查看>>
Encoding Schemes
查看>>
移植QT
查看>>
如此调用
查看>>
计算机的发展史
查看>>