服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. 环境variables configuration solaris
  3. 如何在Solaris中设置环境variables(在.profile中)
Intereting Posts
由于PCI DSSauthentication,NGINX仅为TLS 1.2。 我怎样才能警告其他人? 不能在apache上安装ssl证书 哪个UPS供家庭使用,电池电量不足时能自动关机? 是否可以在SNMPD(RHEL)中添加对其他OID的支持 Ubuntu 11.10是否包含MySQL 5.5? jetty 7启动时使用jetty部署描述符的NullPointerException 将两个Dell交换机堆叠与LAG / LACP相连 更新grub 2的configuration,当win10正在更新,现在不能继续更新,如何解决它? Debian 5显示分辨率超出范围 从Azure中不同位置的快照创build操作系统磁盘时发生“未find实体”错误 调制解调器进入网桥模式有什么缺点吗? 最佳分区软件 Hyper-v 2012 R2 Nic与VLAN组队 在linux上inheritance文件所有权 数字海洋和可扩展的MongoDb

如何在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