rm: remove regular file `t1.sh'?
来源:互联网 发布:知乎宇宙高维 编辑:程序博客网 时间:2024/06/05 15:50
rm: remove regular file `t1.sh’?
删除文件时遇到
rm: remove regular file `t1.sh'?
提示,意思是删除t1.sh文件时,需要用户通过”y”或”n”进行确认。
也就是
rm: remove regular file `t1.sh'? y #确认删除操作
如何设置rm时是否确认
rm -i
即可在删除文件时让你确认
如果不想加-i那么,在linux下可以使用unalias删除对应alias的指令
unalias rm=
PS:这个操作只对当前shell生效。如果想开机生效则需要写到开机执行文件中
阅读全文
0 0
- rm: remove regular file `t1.sh'?
- rm: remove regular file `t1.sh'?
- rm: cannot remove Read-only file system
- rm: cannot remove `libtoolT': No such file or directory
- /bin/rm: cannot remove `libtoolT': No such file or directory
- 两非空数求和t1.sh
- /bin/rm: cannot remove directory `/tmp/bootstrap': Operation not permitted ./runcluvfy.sh: line 99:
- /bin/rm: cannot remove `libtoolT’: No such file or directory 解决方案
- /bin/rm: cannot remove `libtoolT’: No such file or directory 解决方案
- 在solaris上报错 rm: Unable to remove directory xxx File exists
- rm: cannot remove `/var/lib/dpkg/lock': Read-only file system 修复磁盘并成功启动
- Could not compile libxml2: /bin/rm: cannot remove `libtoolT': No such file or directory
- MYsql 5.1 安装过程报错 /bin/rm: cannot remove `libtoolT': No such file or directory
- 【转】Centos 安装libxml2 "bin/rm: cannot remove `libtoolT': No such file or directory
- rm: cannot remove `/home/cn0000/log/formlog.20140417': Read-only file system
- /bin/rm: cannot remove `libtoolT’: No such file or directory 解决方案
- 安装插件libxstl遇到的/bin/rm: cannot remove `libtoolT’: No such file or directory
- 编译APR包的时候出现 rm: cannot remove `libtoolT': No such file or directory
- 分治的一道题
- 最大堆实现堆排序
- 9-13 (图论之手练模板篇,存边小技巧)
- JavaScript初级脚本算法
- Java集合类: Set、List、Map、Queue使用场景梳理
- rm: remove regular file `t1.sh'?
- js计数器问题探究
- 实现u-boot对yaffs/yaffs2文件系统下载的支持
- Google MapReduce 中文版
- Maven搭建SSM项目时的pom.xml文件配置
- 指针和const
- Visual Studio 2015 安装问题详解
- C# 中的委托和事件
- Android ListView常用属性解析