Skip to content

Instantly share code, notes, and snippets.

@hdemon
Created December 8, 2016 07:14
Show Gist options
  • Save hdemon/163765e744c362bce235d9dcca966406 to your computer and use it in GitHub Desktop.
Save hdemon/163765e744c362bce235d9dcca966406 to your computer and use it in GitHub Desktop.
シェルスクリプト芸

カレントディレクトリ取得

CURRENT=$(cd $(dirname $0) && pwd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment