摘要:
ps 查看进程 grep 查找 tail -f 查看日志 free 查看内存 systemctl status firewalld 查看防火墙状态 systemctl disable firewalld 永久关闭防火墙 systemctl stop firewalld 暂时关闭防火墙 systemc 阅读全文
摘要:
时间戳转为时间: from_unixtime( unixtime,format),其中unixtime必须为整型(bigint),d若时间为秒时是10位,时间为毫秒时为13位。format是字符型(string),为所要转换的日期 例:from_unixtime(cast(substr(dt,1,1 阅读全文
摘要:
出现该提示的原因是:对文件只有读的权限 不能进行修改 此时 使用:q命令无法退出,可以直接使用 ctrl+z 直接退出 退出后再次进入该文件 会提示:Swap file ".message.log.swp" already exists! 原因:上次退出异常,有临时文件未保存 解决方法:删除swap 阅读全文