-bash:/ etc / profile:输入/输出错误 [英] -bash: /etc/profile: Input/output error

查看:1183
本文介绍了-bash:/ etc / profile:输入/输出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在启动bash时遇到错误


但是bash正在运行但是我无法编辑/ etc / profile来安装jdk。



- bash:/ etc / profile:输入/输出错误


< p style ="">


附上截图。


有人可以帮忙吗?




此外,


我是第一次参加这个论坛,


无法按原样上传图片或链接,


需要进行帐户验证。


怎么做?

解决方案

嗨BN P,


欢迎来到MSDN论坛。


由于论坛问题导致线程无法尽快找到。


>>"然而bash正在运行,但我无法编辑/ etc / profile来安装jdk。  "


您是否使用管理员执行命令?你收到其他错误信息吗?


你能告诉我什么类型的操作系统吗?


根据我在谷歌上的搜索,似乎是Linux问题。下面是解决问题的类似解决方案。


< a href ="https://linoxide.com/how-tos/inputoutput-error-bad-blocks-how-to-restart-linux/"> https://linoxide.com/how-tos/inputoutput-error- bad-blocks-how-to-restart-linux /


最好的问候,


Hart


注意:此响应包含对第三方万维网站点的引用。 Microsoft提供此信息是为了方便您。 Microsoft不控制这些网站,也未测试在这些网站上找到的任何软件或信息;因此,
Microsoft不能就其中发现的任何软件或信息的质量,安全性或适用性做出任何陈述。


I am getting an error when starting bash

However bash is working but i cant edit /etc/profile for installing jdk.

-bash: /etc/profile: Input/output error

screenshot attached.

Can anyone help ?

Also,

I am first time in this forum,

cant able to upload image or link as it is saying,

account verification required.

how to do that ?

解决方案

Hi BN P,

Welcome to MSDN forum.

Since the forum issue that cause the thread cannot be found as soon as possible.

>>"However bash is working but i cant edit /etc/profile for installing jdk.  "

Did you use the administrator to execute the command? and did you get other error message?

Could you tell me what type of operating system?

Based on my search on google, it seems to be Linux issue. the below is similar solution to solve the issue.

https://linoxide.com/how-tos/inputoutput-error-bad-blocks-how-to-restart-linux/

Best Regards,

Hart

Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.


这篇关于-bash:/ etc / profile:输入/输出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆