虚拟机上的 linux 自动配置了主机上的 clash 的端口 ip:port 。
使用的 mobaxterm 。
.bashrc 里没有搜索到 ip:port 字段
这是在什么地方被配置了?
虚拟机上的 linux 自动配置了主机上的 clash 的端口 ip:port 。
使用的 mobaxterm 。
.bashrc 里没有搜索到 ip:port 字段
这是在什么地方被配置了?
|
1
/etc/profile 看看
|
|
qu771M5iZv41syn9Mar 14, 2024
2
exportq
|
|
qu771M5iZv41syn9Mar 14, 2024
3
export
|
|
nxuuMar 14, 2024
4
unset http_proxy 就取消了.
|
|
5
@nxuu 它的关键问题是每次机器启动都会自动配置上这个。我还得在.bashrc 里配置取消这两个。
|
|
6
@om2mo 可以看到这个字段被配置了,这个是有什么意图吗?
|
|
7
@nagisaushio 有效,感谢。
问了好几个 ChatGPT 工具都没答上来,还得靠论坛里面的 hxd |
|
julyclydeMar 16, 2024
8
顺着 shell 的进程号一层层往上找就知道是在哪儿加进去的了
如果只有 shell 才有,那就是 profile 之类的 如果都有,就是/etc/environment |
|
guanzhangzhangMar 17, 2024
9
```
find /etc -type f -size -5M -exec grep -Pl 'https?_proxy' {} \; ``` |