400-1513-886

全国统一服务热线

系统运维

-bash: /root/.bash_profile: line 15: syntax error: unexpected end of file

发布时间:2018-07-24 20:38:38 1542 次

登陆到系统后报下面这个错误:

-bash: /root/.bash_profile: line 15: syntax error: unexpected end of file
-bash-3.2#

这个报错的解决办法。如下:
-bash-3.2# cd  /root/
-bash-3.2# touch  .bash_profile
-bash-3.2#dos2unix   .bash_profile
dos2unix: converting file .bash_profile to UNIX format ...
-bash-3.2#
-bash-3.2# exit
重新登录即可。

扫码进入小程序

公司名称:广州统天网络科技有限公司

公司地址:广州市白云区石井镇潭村水闸街6号

公司电话:400-1513-886

公司邮箱:info@tongtian.tech