Created
July 9, 2016 02:55
-
-
Save tomoyamkung/15f87bc51aab19d44c8f0fa53bcc176c to your computer and use it in GitHub Desktop.
実行中のスクリプトが保存されているディレクトリに移動する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# このスクリプトが保存されているディレクトリに移動する | |
cd `dirname $0` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment