Linux 常用命令

常用linux命令大全目录手册

Linux实战考试题:批量创建用户和密码

方法1: [root@oldboy /]# echo stu{01..10}|tr \n|sed -r s#(.*)#useradd \1 ; pass=$((RANDOM+10000000)); echo $pass|passwd --stdin \1; echo -e \1 \t `echo $pass`/tmp/oldboy.log#g|bash 上述命令实际就是再拼N条下面的命令的组合...

LAMP一体环境快速安装

(一)安装Apache 1、下载安装 yum install zlib-devel -y wget http://mirror.bit.edu.cn/apache/httpd/httpd-2.2.31.tar.gz tar xf httpd-2.2.31.tar.gz cd httpd-2.2.31 ./configure \ --prefix=/application/apache2.2.31 \ --enable-deflate \ --e...