開啟.bashrc
stephen@stephen-Ubuntu:~$ sudo gedit ~/.bashrc
用alias加入快捷方式
以understand(一個類似於dev_cpp的靜態程式碼讀寫器)為例子
#understand(could be deleted)
alias understand='/home/stephen/Documents/Understand/Understand-5.0.960-Linux-64bit/Understand-5.0.960-Linux-64bit/scitools/bin/linux64/understand'
儲存後更新
stephen@stephen-Ubuntu:~$ source ~/.bashrc
Done
stephen@stephen-Ubuntu:~$ understand
本作品採用《CC 協議》,轉載必須註明作者和本文連結