07 2019 档案

摘要:linux windows 阅读全文
posted @ 2019-07-25 13:31 林夕之风 阅读(245) 评论(0) 推荐(0) 编辑
摘要:for i in `ls /sys/class/net/`;do cat /sys/class/net/$i/address;done 阅读全文
posted @ 2019-07-17 16:07 林夕之风 阅读(1482) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/killerover84/article/details/19550881 阅读全文
posted @ 2019-07-04 16:28 林夕之风 阅读(1403) 评论(0) 推荐(0) 编辑
摘要:date| xargs -I{} date -d "{}" +%s 阅读全文
posted @ 2019-07-03 15:44 林夕之风 阅读(316) 评论(0) 推荐(0) 编辑
摘要:import platform import subprocess import re def get_wwn(): result = [] print platform.uname() try: # 检查windows if platform.system() == 'Windows': result = subp... 阅读全文
posted @ 2019-07-03 15:38 林夕之风 阅读(469) 评论(0) 推荐(0) 编辑
摘要:#!/usr/local/easyops/python/bin/python # coding=utf-8 import subprocess import re import time import os import platform import json #from urllib3.contrib import pyopenssl as reqs from decimal import ... 阅读全文
posted @ 2019-07-03 15:27 林夕之风 阅读(453) 评论(0) 推荐(0) 编辑
摘要:%s的时候多加个% {}.format 多加个{} 阅读全文
posted @ 2019-07-03 15:21 林夕之风 阅读(1712) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示