一、特殊权限(lsattr,chattr)二、文件隐藏权限(suid,sgid,stick)三、查看命令(which,type,whereis,locate,find)四、ln链接文件(软链接,硬链接)一、特殊权限(lsattr,chattr)1、lsattr查看隐藏权限i,a[root@localhostdir2]#lsattr-------------e-./file.txt-a显示所..
分类:
系统相关 时间:
2015-03-19 16:42:51
阅读次数:
347
安装:wgethttp://innotop.googlecode.com/files/innotop-1.8.0.tar.gz# perl Makefile.PL# make install解决Can't locate Term/ReadKey.pm in @INC 错误方式如下# wgethttp...
分类:
数据库 时间:
2015-03-19 14:30:28
阅读次数:
279
1、查看网卡使用的驱动[root@slavetwo~]#ethtool-iem1
driver:tg3
version:3.122
firmware-version:FFV7.4.8bc5720-v1.30
bus-info:0000:01:00.02、查看tg3所在位置[root@slavetwo~]#locate-rtg3.*ko
/lib/modules/2.6.32-279.el6.x86_64/kernel/drivers/net/tg3.ko因为系统内..
分类:
系统相关 时间:
2015-03-17 10:39:44
阅读次数:
253
[root@localhost mha4mysql-node-0.52]# ?perl Makefile.PL;make;make install Can‘t locate ExtUtils/MakeMaker.pm in @INC (@INC contains: inc /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/pe...
分类:
其他好文 时间:
2015-03-16 19:47:09
阅读次数:
754
1.文件搜索命令 locate 命令格式 : locate 文件名 (只能文件名)#按/etc/updatedb.conf配置文件在后台数据库中(/var/lib/mlocate)按文件名搜索ps: 1.不是实时更新,updatedb 更新数据库2.搜索系统命令 whereis、which(1).命...
分类:
其他好文 时间:
2015-03-16 00:49:14
阅读次数:
157
1、错误描述
三月 15, 2015 7:53:25 下午 com.opensymphony.xwork2.util.logging.jdk.JdkLogger error
严重: Dispatcher initialization failed
Unable to load configuration. - [unknown location]
at com.opensymphony.xwo...
分类:
Web程序 时间:
2015-03-15 21:28:17
阅读次数:
457
安装mysql server:1、 sudo apt-get install mysql-server2、 如果出现Unable to locate package……,执行sudo apt-get update,然后再执行sudo apt-get upgrade,再执行sudo apt-get i...
分类:
数据库 时间:
2015-03-13 23:44:09
阅读次数:
174
查找命令有locate和find一、locate根据全系统文件数据库进行查找,并非实时查找。按计划任务会自动将本机的文件收集到文件数据库中,非精确查找。手动生成文件数据库,updatedb,执行速度慢,查找速度快二、find实时、精确、遍历、查找速度慢、支持众多查找类型find查找路径查找..
分类:
其他好文 时间:
2015-03-13 19:10:00
阅读次数:
172
查询文件类型与文件位置命令)file作用:查看文件类型(linux下的文件类型不以后缀名区分)语法:file[选项]filename=================================================================================
[root@san01~]#file/etc/passwd
/etc/passwd:ASCIItext#文本文档
[root..
分类:
系统相关 时间:
2015-03-11 02:08:54
阅读次数:
294
7.1.1:文件查找:根据文件的各种属性去找到相对应文件。文件查找分为:(实时查找、非实时查找)locate:非实时查找(依赖于索引,而索引构建相当占资源:索引的创建会在系统空闲时进行,手动更新updatedb,查询速度快,模糊查找)、7.1.2、find:实时查找(精准、准确查找,速度..
分类:
其他好文 时间:
2015-03-10 01:33:31
阅读次数:
224