Skip to main content
[Edit removed during grace period]
Source Link
Gilles 'SO- stop being evil'
  • 866.1k
  • 205
  • 1.8k
  • 2.3k
Source Link
jijinp
  • 1.4k
  • 10
  • 10

Get the dirname from the name of the shell or shell script( $0). Then do:

source `dirname $0`/../config