Created
August 24, 2016 00:43
-
-
Save geunho/648381b0e4e9207e9c5af7b73e402c4b to your computer and use it in GitHub Desktop.
Ubuntu bash skeleton 파일 추가
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 | |
# | |
# Ubuntu | |
# 기본 bash 파일이 없는 경우 (.bashrc, .profile) | |
# skeleton 파일을 복사하여 추가 | |
################################## | |
if [ ! -f "~/.bashrc" ]; then | |
cp /etc/skel/* ~/ | |
source ~/.profile | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment