ITPub博客

首页 > Linux操作系统 > Linux操作系统 > alias doesn't work on solaris

alias doesn't work on solaris

原创 Linux操作系统 作者:ad007520 时间:2012-04-24 13:54:03 0 删除 编辑
alias doesn't work on solaris.
solaris10 use shell sh default,so alias doesn't work.we can change the shell to bash by edit /etc/passwd to make it effect.
like :oracle:x:100:101::/dms01/app:/bin/bash ,and then append the define of alias into .profile ,it would be permanent.
like:
alias bdump='cd /dms01/app/admin/dms/bdump'
alias home='cd $ORACLE_HOME'

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/21993926/viewspace-722109/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-06-28

  • 博文量
    137
  • 访问量
    248805