logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Liunx执行source /etc/profile 报错, -bash: HISTTIMEFORMAT: readonly variable

今天在配置java环境变量时,执行source /etc/profile报错,系统是统信OS,花了好长时间才解决,在这记录一下,希望能帮助到大家。修改完成后保存,关闭当前shell,重新打开一个shell,然后执行source /etc/profile。在这个文件中/etc/profile.d/zzz_kylin_history.sh 设置了只读属性。只需要打开zzz_kylin_history.

#bash#开发语言
linux编辑保存jar包报错(your system doesn't appear to have the zip pgm)

确保你已经安装了zip和unzip(在你运行的Ubuntu上sudo apt-get install zip && sudo apt-get install unzip)。

到底了