Linux 和 Mac 下时间戳与时间互转Linux 和 Mac 下时间戳与时间互转查看当前时间的时间戳# linux 和 mac 下都是一样的命令 # eg output:1650428766 date +%s 查看指定时间的时间戳# eg output:16504272792022-04-20 LinuxLinux Mac Linux 频繁使用命令Linux 频繁使用命令 date timedatectl reboot poweroff wget ps pstree nice pidof kill killall uname uptime free who last ping t2021-09-12 LinuxLinux Linux 管理远程会话 screenLinux 管理远程会话 screen 创建一个新的会话窗口 backup screen -S backup 查看会话会出现 session_id screen -ls 退出会话 exit 直接使用 screen 命令执行2021-06-20 LinuxScreen 会话管理 Supervisor 进程管理工具使用Supervisor 进程管理工具使用 pypi 插件链接地址 官方文档地址 supervisor 从安装到使用 php artisan horizon 和 php artisan queue:work 命令一样,都可以正常处理异步任务2021-06-19 LinuxSupervisor 进程管理工具 RHEL 7 重置 root 密码RHEL 7 重置 root 密码 查看是否为 RHEL7 系统 # 查看内核版本 cat /etc/redhat-release # 如果信息为以下内容,则可以采用此方法重置 root 密码 Red Hat Enterprise L2021-06-12 LinuxLinux 2019 年 9 月 6 日魔都上海静安考红帽 rhcsa、rhce 记录习武之人,不怕练千万招,就怕一招练千万遍!此篇文章记录了本人考红帽 RHCSA 和 RHCE 时的考题内容,仅供大家参考。祝大家考试顺利!2021-06-06 LinuxLinux 红帽认证