• ~/.bash_profile 에 alias 추가
$ echo "alias _별명_='_원래 명령어_'" >> ~/.bash_profile
$ echo "alias ll='ls -al'" >> ~/.bash_profile

 

  • ~/.bash_profile 확인
$ cat ~/.bash_profile

 

  • ~/.bash_profile 변경 사항 적용
$ source ~/.bash_profile

'Routine > LINUX' 카테고리의 다른 글

Log 삭제  (0) 2020.02.02
Userful Vim Command  (0) 2020.02.02
SHELL 컬러 변경  (0) 2020.02.02
Useful Linux Command  (0) 2020.02.02
Useful Docker Command on Ubuntu  (0) 2020.02.02