Set Home directory properites in Unix

  • SET UNIX HOME DIR PROPERTY using ANT

    Set properties HOMEDIR in build.xml which will be set through user logged in the current system.. Example: <project name=”test” default=”myhome”>     <property environment=”env”/>     <target name=”myhome”>         <echo message=”My home is ${env.HOME}”/>     </target> </project> Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog…