E45: 'readonly' option is set (add ! to override)错误解决
2016-03-29 15:48
225 查看
该错误为当前用户没有权限对文件作修改
输入
:w – write
!sudo – call shell sudo command
tee – the output of write (:w) command is redirected using tee
% – current file name
输入
:w !sudo tee %
:w – write
!sudo – call shell sudo command
tee – the output of write (:w) command is redirected using tee
% – current file name
相关文章推荐
- 解压版tomcat(免安装版),通过双击startup.bat启动时闪退。
- Linux下用来获取各种系统信息的C++类
- Linux下Nagios的安装与配置
- Linux版EPUB阅读器
- Linux版EPUB阅读器
- web应用程序 两层c/s、三层c/s、b/s架构对比及Servlet由来
- 查企业情况和招聘的网站
- 【Linux驱动】字符设备驱动
- Filter --- 使用URL Rewrite实现伪静态网站
- Linux下搭建java环境
- Mac OS X 下安装使用 Docker(16年3月最新方法)
- 渗透技巧——如何巧妙利用PSR监控Windows桌面
- 交叉编译 Linux 内核 for ARM
- Linux 学习读书笔记(1)
- Linux线程的前世今生
- linux获取时间函数介绍
- opencv目录结构
- Nginx日志按天分割
- Centos7 如何安装中文输入法
- 监控基础工作之JConsole远程连接JBossAs7.1.1