![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
Harvey_jiang
这个作者很懒,什么都没留下…
展开
-
python读取xml执行配置其中的脚本
#!/usr/bin/python import xml.etree.ElementTree as ET import sys import os xml_tree = ET.ElementTree(file='./test.xml') tree_root = xml_tree.getroot() cmd = tree_root.attrib['scriptName'] for child i...原创 2018-03-15 16:29:45 · 350 阅读 · 0 评论 -
c++调用脚本计算sha512
计算摘要命令 sha512sum checkSha.sh #!/bin/bash if [ "$1" = "sha512" ] then sha512sum $2| awk '{print $1}' exit 0 fi if [ "$1" = "md5" ] then原创 2018-06-27 01:00:13 · 367 阅读 · 0 评论