How can I create an alias so that when I enter "kt" it executes "killall gnome-terminal"?
Creating an alias
alias kt='killall gnome-panel'
gedit ~/.bashrc
. ~/.bashrc
or source .bashrc
kt
in terminal it will perform the action of killall gnome-panel
alias
in terminal.Few examples:
.bashrc
alias update='sudo apt-get update'
alias upgrade='sudo apt-get upgrade'
alias upd='sudo apt-get update && sudo apt-get upgrade'
노트 :
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다