执行预定义命令

#cd ~
#vi .profile

hello() {
  echo "hello";  
}

保存

#source .profile
#hello

 

posted @ 2016-05-03 20:31  rorshach  阅读(203)  评论(0编辑  收藏  举报