#!/bin/bash

date
#   Sun May 13 00:42:02 CEST 2007
id
#   uid=10001(internal) gid=10001(internal) groups=10001(internal)
pwd
#   /home/srv/doloforge/shared/internal/sandbox
env
#   SHAREDDIR=/srv/doloforge/shared/internal/sandbox
#   SHELL=/bin/sh
#   PROJECT=sandbox
#   PGPORT=5432
#   PGDATABASE=internal_sandbox
#   PATH=/bin:/usr/bin:/usr/local/bin
#   LOCALDIR=/srv/doloforge/local/internal/sandbox
#   PWD=/home/srv/doloforge/shared/internal/sandbox
#   LANG=C
#   PGHOST=localhost
#   STAGE=devl
#   DBI_DSN=DBI:Pg(RaiseError=>1,AutoCommit=>0):dbname=internal_sandbox;host=localhost;port=5432
#   HOME=/home/clients/internal
#   SHLVL=2
#   LOGNAME=internal
#   CLIENT=internal
#   _=/usr/bin/env
psql -c 'select version();'
#                                                       version                                                     
#   ----------------------------------------------------------------------------------------------------------------
#    PostgreSQL 7.4.16 on i486-pc-linux-gnu, compiled by GCC cc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
#   (1 row)
