上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 74 下一页
摘要: 转自:http://codingstandards.iteye.com/blog/831504 在脚本中type可用于检查命令或函数是否存在,存在返回0,表示成功;不存在返回正值,表示不成功。 用途说明 type命令用来显示指定命令的类型。一个命令的类型可以是如下之一 alias 别名 keywor 阅读全文
posted @ 2016-12-20 23:54 yuxi_o 阅读(3933) 评论(1) 推荐(0)
摘要: 转自:http://www.ruanyifeng.com/blog/2009/10/5_ways_to_search_for_files_using_the_terminal.html 在Linux中,有很多方法可以做到这一点。国外网站LinuxHaxor总结了五条命令,你可以看看自己知道几条。大多 阅读全文
posted @ 2016-12-20 23:38 yuxi_o 阅读(297) 评论(0) 推荐(0)
摘要: 辅助函数 void av_dump_format(AVFormatContext *ic, int index, const char *url, int is_output); ic the context to analyze index index of the stream to dump 阅读全文
posted @ 2016-12-20 23:26 yuxi_o 阅读(1256) 评论(0) 推荐(0)
摘要: 转自:http://itlab.idcquan.com/linux/SHELL/727128.html 参考:https://linux.cn/article-8045-1.html 本文全面系统地介绍了shell脚本调试技术,包括使用echo, tee, trap等命令输出关键信息,跟踪变量的值, 阅读全文
posted @ 2016-12-20 23:14 yuxi_o 阅读(380) 评论(0) 推荐(0)
摘要: 第一篇 1、《快速掌握PyQt5》第一章 PyQt5的起点 import sys from PyQt5.QtWidgets import QApplication, QLabel if __name__ == '__main__': app = QApplication(sys.argv) labe 阅读全文
posted @ 2016-12-20 22:53 yuxi_o 阅读(19144) 评论(0) 推荐(0)
摘要: shell中&&和||的使用方法 &&运算符 command1 && command2 本质就是逻辑与,当左边执行成功时,执行&&右边;当左边执行不成功时,因为是逻辑与,没必要执行&&右边,即知执行结果为假。 &&左边的命令(命令1)返回真(即返回0,成功被执行)后,&&右边的命令(命令2)才能够被 阅读全文
posted @ 2016-12-18 21:45 yuxi_o 阅读(864) 评论(0) 推荐(0)
摘要: 正则表达式(Regular Expression)是一种文本模式,包括普通字符(例如,a 到 z 之间的字母)和特殊字符(称为"元字符"),可以用来描述和匹配字符串的特定模式。 在文件命令中经常会使用pattern正则表达式,它是可以描述一类字符串的模式(pattern),如果一个字符串可以用某个正 阅读全文
posted @ 2016-12-18 12:50 yuxi_o 阅读(414) 评论(0) 推荐(0)
摘要: 转自:http://blog.jobbole.com/8960/ 作者:林庆忠,1990年毕业于昆明工学院计算机软件专业,后又于1999年毕业在南京大学 完成软件工程专业硕士的学习,现供职于CNPC旗下的一个行业软件研发中心,因为在网上看了许多有经验的各路软件开发人员写的好帖,一时手痒兴起,也凑一 阅读全文
posted @ 2016-12-11 20:56 yuxi_o 阅读(187) 评论(0) 推荐(0)
摘要: system - execute a shell command #include <stdlib.h> int system (const char *command); 描述 fork()->exec()->waitpid() The system() uses fork to create a 阅读全文
posted @ 2016-12-10 13:27 yuxi_o 阅读(5567) 评论(0) 推荐(0)
摘要: popen, pclose - pipe stream to or from a process FILE *popen( const char *command, const char *type); int pclose(FILE *stream); 描述 The popen() functio 阅读全文
posted @ 2016-12-10 12:34 yuxi_o 阅读(1090) 评论(0) 推荐(0)
上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 74 下一页