摘要:
允许用户登录三次,用户名和密码一样及登陆成功,每次提示错误且说明还有几次机 while循环终止: continue 终止本层循环,直接进行下次循环 break 终止循环直接跳出,进行下面的代码 阅读全文
摘要:
布置服务 1.关闭防火墙 systemctl stop firewalld (永久关闭 systemctl disable firewalld.service)不建议永久关闭 2.关闭selinux setenforce 0 (永久关闭 vim /etc/selinux/config 改:SELIN 阅读全文
摘要:
源码安装python3.5 1. 准备环境 yum install gcc-* glibc-* -y 2. 下载python3.5源码安装包 wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz 3. 解包 tar xvf 阅读全文
摘要:
基本操作 init 0 关机 exit 退出账户 ls 查看 ls -l 查看文件 ls -a 查看隐藏文件 whoami 登陆账户 who boot账户 date 日期 date’月日时分年‘改日历 cal 万年历 clear 清除屏幕 useradd 建立账户 passwd 更改密码 su 切换 阅读全文