http://stackoverflow.com/questions/23533407/how-to-hide-the-hostname-on-the-terminal-on-linux
export PS1='$'
녹화 하거나 할 경우 호스트 네임이 보이면 좀 그렇죠 아무튼 쉽네요 생각 보다
http://ubuntuforums.org/showthread.php?t=1039762
sudo cp ~/.bashrc ~/.bashrc_bakup
sudo gedit ~/.bashrc
검색 PS1= 또는 아래
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
\u@\h: 부분 제거
첫댓글 https://apple.stackexchange.com/questions/34910/how-to-hide-computer-name-and-user-name-in-terminal-command-prompt
sudo cp ~/.bash_profile ~/.bash_profile.bak
sudo echo "export PS1='$ '" >> ~/.bash_profile
#복구
sudo cp ~/.bash_profile.bak ~/.bash_profile