02 2019 档案
摘要:一、配置存放文件/root/wang 存放常用的文件/root/wang/shell 存放练习的shell文件/root/wang/succeed_shell 存放有用shell文件/root/bak 存放备份文件二、常用个性化操作wsh 进入/root/wang/shellwang 进入/root
阅读全文
摘要:一、安装mailx sendmail 1.1查看是否已经安装 yum install -y mailx sendmail 如果已经安装,会提示已经安装,没有安装会自动安装。 二、开启sendmail服务 查看状态:systemctl status sendmail 如果Active:显示active
阅读全文
摘要:/root/wang/shell 存放练习的shell文件,快捷命令wsh(alias wsh='cd /root/wang/shell') /root/wang/OS_bak 存放系统备份文件 /root/wang wang的常用文件,快捷命令wang(alias wang='cd /root/w
阅读全文
摘要:不要在/tmp目录下保存文件,该目录会定期清理文件 /tmp默认保存10天 /var/tmp默认保存30天 配置文件:/usr/lib/tmpfiles.d/tmp.conf 默认配置文件:# This file is part of systemd.## systemd is free softw
阅读全文
摘要:一、查看所有表的行数select a.name as '表名',b.rows as '表数据行数'from sysobjects a inner join sysindexes bon a.id = b.idwhere a.type = 'u'and b.indid in (0,1)--and a.
阅读全文

浙公网安备 33010602011771号