![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
凯旋-静水深流
这个作者很懒,什么都没留下…
展开
-
ldconfig 命令
你是否在 linux 系统上,运行程序的时候,遭遇过如下的提示信息: error while loading shared libraries: lib*.so.*: cannot open shared object file: No such file or directory 这个提示信息的含义是系统找不到库文件lib*.so.*。系统默认查找库文件的目录是原创 2014-04-30 10:07:21 · 1014 阅读 · 0 评论 -
Linux 系统下如何查看 CPU 个数
Linux 操作系统中,CPU 的信息保存在文件 /proc/cpuinfo 中,可以用 cat 或者 more 命令来查看。 统计逻辑CPU个数: #cat /proc/cpuinfo |grep "processor"|sort -u|wc -l 统计物理CPU个数: #cat /proc/cpuinfo |gr原创 2014-04-25 09:37:12 · 601 阅读 · 0 评论 -
linux 系统,查看某目录下有多少个文件
linux 操作系统中,如果想查看某目录下有多少个文件,命令格式为: find 目录名 -type f | wc -l 其中目录名,可以使用绝对路径或者相对路径。例如: find . -type f | wc -l find /home/tester -type f | wc -l 如果想查看某种类型的文件都多少个,例原创 2014-06-12 09:29:06 · 1946 阅读 · 0 评论