Skip to content

Instantly share code, notes, and snippets.

@alexrinass
Created May 7, 2011 18:55
Show Gist options
  • Save alexrinass/960733 to your computer and use it in GitHub Desktop.
Save alexrinass/960733 to your computer and use it in GitHub Desktop.
Absolute path of script file in shell
$(cd $(dirname $0);pwd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment