随笔分类 - Linux学习笔记
摘要:2C2G,4C4G,8C16G,16C32G 这里C指cpu物理核数,G指总内存大小 # 查看物理CPU个数 cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l # 查看每个物理CPU中core的个数(即核数) cat /proc/cpu
阅读全文
摘要:Linux下which、whereis、locate、find 命令的区别 转自http://312788172.iteye.com/blog/730280我们经常在linux要查找某个文件,但不知道放在哪里了,可以使用下面的一些命令来搜索。这些是从网上找到的资料,因为有时很长时间不会用到,当要用的
阅读全文
摘要:Action() { //实现一个3位数的倒序输出(123输出321) int n; int m=321; n=fun_mod(m,n); lr_output_message("%d",n); return 0; } int fun_mod(int m,int n){ while(m){ n=n*1
阅读全文
摘要:1、 2、 3、 4、 5、 6、
阅读全文
摘要:1、 2、
阅读全文
摘要:1、 2、
阅读全文
摘要:1、 2、 3、 4、
阅读全文
摘要:
阅读全文
摘要:学习源推荐:http://www.cnblogs.com/ggjucheng/archive/2012/01/08/2316661.html#undefined 疑问:
阅读全文
摘要:1.查看/etc/passwd [admin@localhost /]$ cat -n /etc/passwd 1 root:x:0:0:root:/root:/bin/bash 2 bin:x:1:1:bin:/bin:/sbin/nologin 3 daemon:x:2:2:daemon:/sb
阅读全文
摘要:整理Apache+Mysql+PHP+PHPWind(Apache+PHP集成环境) 一、情况简述: 1、虚拟机VM上面CentOS 2、全部yum安装(yum安装与源码安装的安装路径不同) 二、操作步骤简述 安装Apache(httpd) 安装Mysql(mysqld) 安装PHP(phpd-fd
阅读全文

浙公网安备 33010602011771号