iPr*_*ram 21 virus terminal macos
我不认为我以前见过这个,但是每当我exit在终端中运行时,我都会得到一个非常奇怪的输出。
这是它的样子:
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
Run Code Online (Sandbox Code Playgroud)
当我删除时,~/.bash_sessions我得到了这个输出。
logout
Saving session...-bash: ~/.bash_sessions/EBDD3E18-8D29-42DA-B32C-DD4491951FC0.session: No such file or directory
touch: ~/.bash_sessions/EBDD3E18-8D29-42DA-B32C-DD4491951FC0.historynew: No such file or directory
-bash: history: ~/.bash_sessions/EBDD3E18-8D29-42DA-B32C-DD4491951FC0.historynew: cannot create: No such file or directory
...copying shared history...cp: ~/.bash_sessions/EBDD3E18-8D29-42DA-B32C-DD4491951FC0.history: No such file or directory
...saving history...cat: ~/.bash_sessions/EBDD3E18-8D29-42DA-B32C-DD4491951FC0.historynew: No such file or directory
-bash: ~/.bash_sessions/EBDD3E18-8D29-42DA-B32C-DD4491951FC0.history: No such file or directory
-bash: ~/.bash_sessions/EBDD3E18-8D29-42DA-B32C-DD4491951FC0.historynew: No such file or directory
truncating history files...
...completed.
shlock: open(~/.bash_sessions/shlock6026): No such file or directory
[Process completed]
Run Code Online (Sandbox Code Playgroud)
另一件事是,.bash_sessions如果它被删除,它会重新创建文件夹。
这是某种病毒还是我没有对它给予太多关注,或者这是Apple在El Capitan中添加的东西(我正在运行OS X 10.11 Build 15A262E)还是其他什么?
同样,当我运行login <myusername>然后我运行时,exit我没有得到这个奇怪的输出。似乎只有在关闭终端时才会出现。
注意:我已替换/Users/myusername为~/。我还删除了我的 .bash_profile 以确保它不是那个。
| 归档时间: |
|
| 查看次数: |
29293 次 |
| 最近记录: |