服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. 环境variables configuration solaris
  3. 如何在Solaris中设置环境variables(在.profile中)
Intereting Posts
configurationhttpd.conf来处理带有* multiple *脚本的通配符域 语法错误:在monit中使用“check program”时 Dovecot:在0秒内没有authentication尝试(IMAP协议) 如何使用正则expression式的字面数字 如何强制32位版本的远程桌面客户端在64位Vista上运行? WSUS损坏:无法卸载,修复或删除(错误0x800f0831) Ansible:如何按主机运行一个任务主机? 具有默认策略的防火墙规则不起作用 Linode – Centos 5.5 – login时间和date 为Exchange 2007中的多个用户创build一个共享邮箱,并发送“不回复”消息的自动回复 哪种RAID格式最适合RMA期间的数据隐私? 找出哪个cciss磁盘是/ dev / sdX磁盘(smartmontools和cciss raid控制器) 是否有可能在不同的用户帐户下运行不同的Hudson作业? 用于HTTP和HTTPS的精简configuration文件

如何在Solaris中设置环境variables(在.profile中)

如何在我的.profile文件中设置一个环境variables来考虑variables是否存在并附加到它?

解释:

我想要做

export ANT_OPTS=-Dparam=value 

但是如果ANT_OPTS已经存在,我想追加到它。

  • 在ps-watcherconfiguration文件中调用一个环境variables
  • 与SSH连接时,path未加载
  • 我如何更改xml2-config的path
  • 为root用户设置env var
  • 将python添加到/ usr / bin / env pythonvariables

我想做类似的事情

 set ANT_OPTS=%ANT_OPTS% -Dparam=value 

在Windows中。

如果它已经存在,我如何创build它或追加到它?

  • Kubernetes – 指定env_file
  • 当站起来一个服务器(例如Debian)什么方法使环境variables持久和可用于PHP?
  • tomcat 8 catalina.properties添加variables
  • 将服务器密码放在环境variables中
  • 摆脱PULSE_ *环境variables

尝试

export ANT_OPTS="$ANT_OPTS -Dparam=value"

  • 在CentOS中使用Bash脚本导出
  • 使用Apache环境variables设置自定义的ErrorDocument
  • 在多个puppet窗口批处理脚本中使用variables
  • 如何在.profile中设置用户环境variables
  • 如何在Linux中findANT_HOME的正确path?
  • 添加/ etc / environment会导致bash失败
  • 环境variables的组策略pipe理 – 更新与replace
  • 在while循环期间维护读取variables的方法
  • 如何在Ubuntu 10.04服务器中设置ery globap $ PATH?
  • Windows 7自定义环境variables消失

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy