没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论






























1:文件的搜索命令
which
[root@10 ~]# which ls
alias ls='ls --color=auto'
/bin/ls
ls 命令显示的颜色不同取决于 vi /etc/DIR_COLORS 配置文件的
2:
!$列并执行命令历史面近条记录
[root@10 chen]# whereis ls
ls: /bin/ls /usr/share/man/man1p/ls.1p.gz /usr/share/man/man1/ls.1.gz
[root@10 chen]# which locate
[root@10 chen]# ls `which locate` -l
-rwx--s--x. 1 root slocate 38464 9月 24 2012 /usr/bin/locate
[root@10 chen]#
locate 是全部查找。
2.2 不区分大小写查找。
[root@10 ~]# find / -iname "*history*"
3:
给不同终端发送消息
which
[root@10 ~]# which ls
alias ls='ls --color=auto'
/bin/ls
ls 命令显示的颜色不同取决于 vi /etc/DIR_COLORS 配置文件的
2:
!$列并执行命令历史面近条记录
[root@10 chen]# whereis ls
ls: /bin/ls /usr/share/man/man1p/ls.1p.gz /usr/share/man/man1/ls.1.gz
[root@10 chen]# which locate
[root@10 chen]# ls `which locate` -l
-rwx--s--x. 1 root slocate 38464 9月 24 2012 /usr/bin/locate
[root@10 chen]#
locate 是全部查找。
2.2 不区分大小写查找。
[root@10 ~]# find / -iname "*history*"
3:
给不同终端发送消息
[root@10 chen]# write root pts/1
hello
a
[root@10 chen]#ctrl +d 输入结束
4:find 命令 效率最低,但是功能最强
从根目录开始查找文件名为 ddd.bak
[root@10 ~]# find / -name ddd.bak
/chen/ddd.bak
[root@10 ~]#
从根目录开始查找文件名 包含 newFile 的文件
[root@10 chen]# find / -name "*newFile*"
/chen/newFile.txt
[root@10 chen]
[root@10 chen]# find /etc -name "*network" -ls
412135 4 -rw-r--r-- 1 root root 97 6月 23 2010 /etc/pam.d/system-config-network
412137 4 -rw-r--r-- 1 root root 67 6月 23 2010 /etc/security/console.apps/system-config-network
408384 0 lrwxrwxrwx 1 root root 17 8月 1 13:06 /etc/rc.d/rc4.d/S10network -> ../init.d/network
408303 8 -rwxr-xr-x 1 root root 6334 10月 10 2013 /etc/rc.d/init.d/network
408383 0 lrwxrwxrwx 1 root root 17 8月 1 13:06 /etc/rc.d/rc3.d/S10network -> ../init.d/network
408380 0 lrwxrwxrwx 1 root root 17 8月 1 13:06 /etc/rc.d/rc0.d/K90network -> ../init.d/network
408386 0 lrwxrwxrwx 1 root root 17 8月 1 13:06 /etc/rc.d/rc6.d/K90network -> ../init.d/network
408381 0 lrwxrwxrwx 1 root root 17 8月 1 13:06 /etc/rc.d/rc1.d/K90network -> ../init.d/network
408385 0 lrwxrwxrwx 1 root root 17 8月 1 13:06 /etc/rc.d/rc5.d/S10network -> ../init.d/network
408382 0 lrwxrwxrwx 1 root root 17 8月 1 13:06 /etc/rc.d/rc2.d/S10network -> ../init.d/network
393230 4 -rw-r--r-- 1 root root 38 8月 1 13:00 /etc/sysconfig/network
剩余8页未读,继续阅读
资源评论


chenpengqq0524
- 粉丝: 0
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 反垄断法之电子商务市场反垄断规制(BB交易市场).doc
- 平面设计实施方案实训六Photoshop色彩调整.doc
- 初探网络游戏虚拟财产保险法律问题.doc
- 2017年度大数据时代的互联网信息安全考试及答案.doc
- 基于大数据的高职英语写作教学改革探讨.docx
- 基于云计算医疗物资供应商管理平台解决方案.docx
- 初中信息技术教学如何提升学生的网络学习能力.docx
- 基于PLC控制的打地鼠游戏装置的设计与制作.docx
- 移动互联网技术在物业管理中的应用.docx
- 大数据时代下如何做好初中英语课堂的教学改革.docx
- 计算机科学及其技术的发展趋势研究.docx
- 无线网络视频监控系统实施方案概述.doc
- 互联网金融专业化销售流程.ppt
- VB宿舍文档管理系统论文范文.doc
- 项目管理学概论作业题答案.doc
- 单片机步进电动机控制系统方案设计书.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
