可以看别人的环境变量?# Unix - 噫吁兮,危乎高哉z*e2000-05-18 07:051 楼是可以看同一个机器上别的用户的环境变量吗?用setenv可以看自己的.忘了从哪个newsgroup看来的了, 反正也不好意思问他们. 有哪位知道吗? 只是有些好奇. 要是太容易我得去改改我的了.
w*g2000-05-18 07:052 楼faintof course not【在 z***e 的大作中提到】: 是可以看同一个机器上别的用户的环境变量吗?: 用setenv可以看自己的.: 忘了从哪个newsgroup看来的了, 反正也不好意思问他们. 有哪位知道吗? 只是有些好奇: . 要是太容易我得去改改我的了.
m*e2000-05-18 07:053 楼if I have permission to read your .cshrcthen justsource ~weijing/.cshrcprintenv【在 w*****g 的大作中提到】: faint: of course not
w*n2000-05-18 07:054 楼This is only the default environment, not real.【在 m*****e 的大作中提到】: if I have permission to read your .cshrc: then just: source ~weijing/.cshrc: printenv
t*n2000-05-18 07:055 楼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