Skip to main content.
December 9th, 2003

Setting Environment Variables in Panther

When installing and using UNIX software on Mac OS X, one must often set environment variables. Sometimes these only need be set temporarily, and other times these variables should be set whenever a Terminal login session is started. Environment variables were previously set in Jaguar’s tcsh default shell using syntax such as:

setenv DBI_USER postgres

Panther includes bash as its default shell and uses the following syntax:

export DBI_USER=postgres

To set these at login session startup, take a look at these tips from OSXFAQ.

Posted by Justin at 11:15 PM PST — Tags: ,

This entry was posted on Tuesday, December 9th, 2003 at 11:15 pm and is filed under News. You can follow any responses to this entry through the comments RSS 2.0 feed. Both comments and pings are currently closed.

One Response to “Setting Environment Variables in Panther”

  1. widowsoft says:

    Thanks I used the hard way

    tcsh

    setenv

    bash

    It worked