#create
alias exe='cd /usr2/sinfo/exe/'
alias shell='cd /usr2/sinfo/exe/shell'
alias src='cd /usr2/sinfo/src/'
alias log='cd /usr2/sweb/logs/receive/'
alias manage='cd /usr2/sweb/data/manage/'
source ~/.bashrc
etc>
-bash-3.00$ source .bashrc_backup
-bash: .bashrc_backup: line 7: syntax error: unexpected end of file
-bash-3.00$ file /home/www/work/.bashrc
/home/www/work/.bashrc: ASCII text, with CRLF line terminators
-bash-3.00$ perl -pi -e "s/\r//g" .bashrc
-bash-3.00$ file .bashrc
.bashrc: ASCII text
-bash-3.00$ source .bashrc
#delete
unalias exe
unalias shell
unalias src
unalias log
unalias manage
'리눅스 > Ubuntu 18.04.5 LTS' 카테고리의 다른 글
Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ,,기본설치,ㅡㅡ (0) | 2022.12.11 |
---|---|
update-alternatives --config g++ (0) | 2022.11.06 |
.bashrc 와 .bash_profile 의 차이 (0) | 2022.01.20 |
ubuntu 18.04 install & mysql succ install (at 2021.12.28) (0) | 2021.12.28 |
Ubuntu 18.04 apache-tomcat-**** & apache2 설치및 연동 (0) | 2021.04.18 |