Linux下搜索文件find、which、whereis、locate: -which寻找“执行文件” --a将所有可找到的命令均列出,而不仅仅列出第一个找到的命令名称 -whereis寻找特定文件 whereis[-bmsu]文件或目录 --b: 只找二进制文件 --m: 只...
分类:
系统相关 时间:
2014-12-27 18:53:22
阅读次数:
263
当要编译的可执行程序依赖共享库时,linker按下面所示顺序查找其依赖的库。
下面的内容出自gcc manual,作为笔记,记录于此。
The linker uses the following search paths to locate required shared libraries.
1. Any directories specified by -rpath-link op...
分类:
系统相关 时间:
2014-12-24 16:16:31
阅读次数:
181
1. ?Linux的五个查找命令:find,locate,whereis,which,type?这个你或许会用到,当你的系统里面有多个版本的git的时候,这个可以帮你查看你当前使用的是那个git,这个git在什么位置。 2. git官网这个你也会用得着...
分类:
其他好文 时间:
2014-12-23 12:39:14
阅读次数:
481
在Mac上用Xcode6编译错误,在windows下面Visual Studio 编译没问题,然后查看报错信息:
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/...
分类:
移动开发 时间:
2014-12-22 19:29:05
阅读次数:
1150
重新安装Windows Server 2012 R2,把原来SSD分区全部格式化重建,用U盘启动安装时提示如下:"Setup was unable to create a new system partition or locate an existing system partition. See...
ERRORinnobackupex--user=root--defaults-file=/usr/local/mysql/my.cnfCan‘tlocateTime/HiRes.pmin@INC(@INCcontains:/usr/local/lib64/perl5/usr/local/share/perl5/usr/lib64/perl5/vendor_perl/usr/share/perl5/vendor_perl/usr/lib64/perl5/usr/share/perl5.)at/usr/bin/i..
分类:
其他好文 时间:
2014-12-20 18:27:34
阅读次数:
192
14/12/17 19:18:53 ERROR Shell: Failed to locate the winutils binary in the hadoop binary pathjava.io.IOException: Could not locate executable null\bin...
分类:
Windows程序 时间:
2014-12-17 20:42:19
阅读次数:
1306
在linux下面经常用查找命令,我自己最常用的是find whereis locate关于find我常用find的基本功能,如find / -name filename在某个目录下寻找文件。find命令支持正则,可以写成find . -name abc*但是find查找非常慢,而且find查找的内容...
分类:
系统相关 时间:
2014-12-10 00:18:32
阅读次数:
276
Kubuntu是很好使用,但是升级提示也是太烦人了,开机的时候总是显示如下画面: 使用System Load Indicator(sudo apt-get install indicator-multiload)查看这个界面,它的进程名是notify-osd;使用 locate -b -r not....
分类:
系统相关 时间:
2014-12-07 15:02:45
阅读次数:
379
Mysql查找字符串函数INSTR(str,substr)返回字符串str中子字符串的第一个出现位置。这和LOCATE()的双参数形式相同,除非参数的顺序被颠倒。mysql>SELECTINSTR(‘foobarbar‘,‘bar‘);->4mysql>SELECTINSTR(‘xbar‘,‘foobar‘);->0这个函数支持多字节字元,并且只有当至少..
分类:
数据库 时间:
2014-12-04 15:49:43
阅读次数:
180