可怕的万圣节 Linux 命令

2019-01-16 21:01:24王振洲

at midnight

有时会在万圣节这么说,死者的灵魂从日落开始游荡直到午夜。Linux 可以通过 at midnight 命令跟踪它们的离开。用于安排在下次到达指定时间时运行的作业,at 的作用类似于一次性的 cron。

$ at midnight warning: commands will be executed using /bin/sh at> echo 'the spirits of the dead have left' at> <EOT> job 3 at Thu Oct 31 00:00:00 2017

守护进程

Linux 系统也高度依赖守护进程 —— 在后台运行的进程,并提供系统的许多功能。许多守护进程的名称以 “d” 结尾。这个 “d” 代表守护进程daemon,表明这个进程一直运行并支持一些重要功能。有的会用单词 “daemon” 。

$ ps -ef | grep sshd root 1142 1 0 Oct19 ? 00:00:00 /usr/sbin/sshd -D root 25342 1142 0 18:34 ? 00:00:00 sshd: shs [priv] $ ps -ef | grep daemon | grep -v grep message+ 790 1 0 Oct19 ? 00:00:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation root 836 1 0 Oct19 ? 00:00:02 /usr/lib/accountsservice/accounts-daemon

总结

以上所述是小编给大家介绍的可怕的万圣节 Linux 命令,希望对大家有所帮助,如果大家有任何疑问欢迎给我留言,小编会及时回复大家的!

您可能感兴趣的文章:

Linux上也有10个流行的Windows应用程序详解Win10 Bash/WSL调试Linux环境下的.NET Core应用程序Linux中使用Crontab定时监测维护Tomcat应用程序的方法在Linux操作系统上运行Windows应用程序linux 编译安装python3.6的教程详解Linux配置和使用i3窗口管理器的教程十个理由告诉你Linux为何越来越受欢迎值得收藏的27个Linux文档编辑命令Linux kde中11个你不知道的应用程序