{"name":"gist: 835033","desc":"Bash get self directory trick","actor":"Serafim-III","url":"https://gist.github.com/835033","snippet":"SELF=$(cd $(dirname $0); pwd -P)/$(basename $0)\n\n# From: http://stevemorin.blogspot.com/2007/10/bash-get-self-directory-trick.html by Steve Morin","actor_gravatar":"791234d8d4d46deada1694bddc6c33e5","action":"create"}