ubuntu系统 source: not found解决方法

ubuntu系统 source: not found解决方法

1.Ubuntu的shell默认是Dash Shell

$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 1月  22  2019 /bin/sh -> dash

2.root权限下修改shell为Bash Shell

sudo dpkg-reconfigure dash
[sudo] password for root:
Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
Adding 

猜你喜欢

转载自blog.csdn.net/zhengzaifeidelushang/article/details/114584292