我是谁

1
2
memect@paa2:~$ whoami
memect

我在哪

1
2
memect@paa2:~$ pwd
/home/memect

我在干什么

1
2
3
4
5
6
7
8
root@paa2:/usr/local/haproxy# ps -u memect
PID TTY TIME CMD
4414 ? 00:00:00 zabbix_agentd
4415 ? 00:12:02 zabbix_agentd
4416 ? 00:10:47 zabbix_agentd
4417 ? 00:10:37 zabbix_agentd
4418 ? 00:10:44 zabbix_agentd
4419 ? 00:03:38 zabbix_agentd

还有谁活着

1
2
3
4
5
lijinghua@paa2:~$ w
11:22:40 up 40 days, 16:36, 2 users, load average: 0.04, 0.04, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 192.168.1.215 11:22 3.00s 0.00s 0.00s -bash
root pts/1 192.168.1.215 11:22 0.00s 0.06s 0.00s w

还有谁存在过

1
2
3
4
5
6
7
8
9
10
root@paa2:~# cat /etc/passwd |cut -f 1 -d: |tail
xiaozhuang
zhangsan
zabbix
lisi
wangwu
colord
epmd
haproxy
memect

我做过什么

1
2
3
4
5
6
7
8
9
10
11
12
13
memect@paa2:~$ history
1 find / -user memect -exec rm {} \; && skill -KILL -u memect
2 ll
3 cd
4 cd
5 hist
6 cd
7 ll
8 ls
9 ls -l
10 ls -la
11 cat /etc/passwd
12 history

杀死自己

1
2
lijinghua@paa2:~$ skill -KILL -u memect
root@paa2:~#

杀死自己,什么都不要留下

1
lijinghua@paa2:~# skill -KILL -u memect ; find   /  -user memect -exec rm {} \;