摘要: 1.查找命令 find -name "hello.c" grep "test" grep "usb" -c -r /drivers/usb 2.管道 ps -A | grep usb cat file | grep hello cat file | ls > file2 cat file | fil 阅读全文
posted @ 2016-09-05 21:03 爆烈鼓手 阅读(617) 评论(1) 推荐(0) 编辑
摘要: 1。建立硬链接: ln main.c mainsoft 2.建立软链接:ln -s main.c soft 3.对文档进行统计 wc main.c返回行、单词数和字符数 4.查看相应命令的描述 whatis python5.查看程序位置 which python6.查找二进制文件、 源和命令的手册页 阅读全文
posted @ 2016-09-05 15:54 爆烈鼓手 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 1.set 无序,不重复序列 创建:与dict一样用{},区别在于dict内元素为键值对 se={"123","456,444"} print(type(se)) 或者: li=[11,22,33,11,22] s1=set(li) 2.set提供的功能 阅读全文
posted @ 2016-09-05 10:13 爆烈鼓手 阅读(234) 评论(0) 推荐(0) 编辑