Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-9568

Add bin directories to $PATH via /etc/profile.d

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 1.7.0
    • None
    • None
    • HDP 2.2

    Description

      Add software bin directories to $PATH for convenience by dropping in an /etc/profile.d/ file with the following contents:

      for x in /usr/hdp/current/*/bin; do
          export PATH="$PATH:$x"
      done
      

      Regards,

      Hari Sekhon
      http://www.linkedin.com/in/harisekhon

      Attachments

        Activity

          People

            Unassigned Unassigned
            harisekhon Hari Sekhon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: