bash: cannot create temp file for here-document: Read-only file system

Posted 若白衣

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了bash: cannot create temp file for here-document: Read-only file system相关的知识,希望对你有一定的参考价值。

虚拟机linux系统​只读处理

mount 查看所有挂载,发现根目录的挂载权限是ro只读

​查看 /etc/fstab 发现某字段写错了,修改以后提示文件只读,没办法修改

重新挂载根目录

mount -o remount,rw /

重新编辑/etc/fstab 解决问题

以上是关于bash: cannot create temp file for here-document: Read-only file system的主要内容,如果未能解决你的问题,请参考以下文章

Linux使用命令CD时候使用tab报-bash: cannot create temp file for here-document: No space left on

Linux出现cannot create temp file for here-document: No space left on device的问题解决

Linux出现cannot create temp file for here-document: No space left on device的问题解决

cannot create temp file for here-document: No space left on device

cannot create temp file for here-document: No space left on device

cannot create temp file for here-document: No space left on device