由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
SanFrancisco版 - what does this Unix command mean?
相关主题
C#/Java developers wanted in bay area (转载)没文化被鄙视了
can any windows 7 guru help me out?不交税行吗?
谁能说说三星的LED电视带web browser的好处?各位走过路过的给点建议.万分感谢!!!!
请赐教:能否把公司发的手提电脑拿回家用?Sr Software Engineer Open in Juniper networks
能不能推荐一个软件把Outlook里面地址拿出来 ?Please help my friend how to solve this problem(C programm)
【原创】浏览器是怎么变成操作系统的(2)奥巴马民主党就是个大骗子
【原创】浏览器是怎么变成操作系统的(4)老中的文化在渐渐蚕食老美的文化。
Yahoo! 的 QA salary 是多少?争论苹果优劣的可以shut up,苹果最大的有势是Unix核心 (转载)
相关话题的讨论汇总
话题: java话题: command话题: unix话题: home话题: set
进入SanFrancisco版参与讨论
1 (共1页)
n*********e
发帖数: 318
1
set | grep JAVA_H
多谢!
f*******n
发帖数: 12623
2
"set" is a built-in command in some shells (e.g. for bash: https://www.gnu.
org/software/bash/manual/bashref.html#The-Set-Builtin). When no arguments
are given, it shows all shell variables and functions. "grep" then filters
the output for a line containing "JAVA_H"
They are probably looking for the environment variable "JAVA_HOME". Actually
, the command is more complicated than it needs to be, because "env" is
better for displaying environment variables than "set". Also, if you just
want the value of JAVA_HOME, then just "echo $JAVA_HOME" would be enough.
n*********e
发帖数: 318
3
Thanks a lot!
I really appreciate it!
1 (共1页)
进入SanFrancisco版参与讨论
相关主题
争论苹果优劣的可以shut up,苹果最大的有势是Unix核心 (转载)能不能推荐一个软件把Outlook里面地址拿出来 ?
Dennis Ritchie - Unix, C language designer - Died【原创】浏览器是怎么变成操作系统的(2)
R.I.P, Dennis MacAlistair Ritchie 里程碑【原创】浏览器是怎么变成操作系统的(4)
做码工没前途。UNIX (co-developer),C 之父死了买买提没一(转载)Yahoo! 的 QA salary 是多少?
C#/Java developers wanted in bay area (转载)没文化被鄙视了
can any windows 7 guru help me out?不交税行吗?
谁能说说三星的LED电视带web browser的好处?各位走过路过的给点建议.万分感谢!!!!
请赐教:能否把公司发的手提电脑拿回家用?Sr Software Engineer Open in Juniper networks
相关话题的讨论汇总
话题: java话题: command话题: unix话题: home话题: set