6 个“怪吓人”的 Linux 命令!
点击关注公众号,Java干货及时送达
来源 | twt企业IT社区 (ID:talkwithtrend)
一、crypt
$ mcrypt x
Enter the passphrase (maximum of 512 characters)
Please use a combination of upper and lower case letters and numbers.
Enter passphrase:
Enter passphrase:
File x was encrypted.
二、kill
$ killall runme
[1] Terminated ./runme
[2] Terminated ./runme
[3]- Terminated ./runme
[4]+ Terminated ./runme
三、shred

$ shred dupes.txt
$ more dupes.txt
▒oΛ▒▒9▒lm▒▒▒▒▒o▒1־▒▒f▒f▒▒▒i▒▒h^}&▒▒▒{▒▒
四、zombies
$ top
top - 18:50:38 up 6 days, 6:36, 2 users, load average: 0.00, 0.00, 0.00
Tasks: 171 total, 1 running, 167 sleeping, 0 stopped, 3 zombie <==
%Cpu(s): 0.0 us, 0.0 sy, 0.0 ni, 99.9 id, 0.1 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 2003388 total, 250840 free, 545832 used, 1206716 buff/cache
KiB Swap: 9765884 total, 9765764 free, 120 used. 1156536 avail Mem
五、at midnight
$ at midnight
warning: commands will be executed using /bin/sh
at> echo 'the spirits of the dead have left'
at>
job 3 at Thu Oct 31 00:00:00 2017
六、daemons
$ 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/acco

往 期 推 荐
1、Log4j2维护者吐槽没工资还要挨骂,GO安全负责人建议开源作者向公司收费 2、太难了!让程序员崩溃的8个瞬间 3、2021年程序员们都在用的神级数据库 4、Windows重要功能被阉割,全球用户怒喷数月后微软终于悔改 5、牛逼!国产开源的远程桌面火了,只有9MB 支持自建中继器! 6、摔到老三的 Java,未来在哪? 7、真香!用 IDEA 神器看源码,效率真高! 点分享
点收藏
点点赞
点在看