avatar
可以看别人的环境变量?# Unix - 噫吁兮,危乎高哉
z*e
1
是可以看同一个机器上别的用户的环境变量吗?
用setenv可以看自己的.
忘了从哪个newsgroup看来的了, 反正也不好意思问他们. 有哪位知道吗? 只是有些好奇
. 要是太容易我得去改改我的了.
avatar
w*g
2
faint
of course not

【在 z***e 的大作中提到】
: 是可以看同一个机器上别的用户的环境变量吗?
: 用setenv可以看自己的.
: 忘了从哪个newsgroup看来的了, 反正也不好意思问他们. 有哪位知道吗? 只是有些好奇
: . 要是太容易我得去改改我的了.

avatar
m*e
3
if I have permission to read your .cshrc
then just
source ~weijing/.cshrc
printenv

【在 w*****g 的大作中提到】
: faint
: of course not

avatar
w*n
4
This is only the default environment, not real.

【在 m*****e 的大作中提到】
: if I have permission to read your .cshrc
: then just
: source ~weijing/.cshrc
: printenv

avatar
t*n
5
In theory, if you are root, you can read from the /dev/mem file.
Or on linux, see /proc//environ

【在 w*****g 的大作中提到】
: faint
: of course not

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。