linux配置java环境报错-bash: /etc/profile: line 77: synta

2020-04-03 21:49发布

配置java环境时 不小心动了etc/profile 里的东西,提示以下错误,大神能帮我看看嘛,┭┮﹏┭┮
-bash: /etc/profile: line 70: unexpected EOF while looking for matching `"'
-bash: /etc/profile: line 77: syntax error: unexpected end of file
[root@izuf6fyls0jsr430b2tdr3z ~]# cat -v /etc/profile

/etc/profile

System wide environment and startup programs, for login setup

Functions and aliases go in /etc/bashrc

It's NOT a good idea to change this file unless you know what you

are doing. It's much better to create a custom.sh shell script in

/etc/profile.d/ to make custom changes to your environment, as this

will prevent the need for merging in future updates.

pathmunge () {
case "

标签:
1条回答
我只想做你的唯一
2楼-- · 2020-04-03 22:03

能把代码好好粘贴一下吗?

查看更多
登录 后发表回答