摘要: Linux命令众多,当不清楚一个命令的使用方法时,我们该怎样了解命令的属性和帮助? 1.用type命令了解一个命令的属性 [root@zejin240 testdir]# type cd cd is a shell builtin [root@zejin240 testdir]# type rm r 阅读全文
posted @ 2016-10-24 15:23 泽锦 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 用法格式 grep [option] pattern file 实验文件 [root@zejin240 tmp]# cat testdir/tfile 1 #include <stdio.h> 2 void main() 3 { 4 int a,b; 5 a=10; 6 b=5; 7 a++; 8 阅读全文
posted @ 2016-10-24 13:37 泽锦 阅读(536) 评论(0) 推荐(0) 编辑