免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1170 | 回复: 5
打印 上一主题 下一主题

谁感兴趣来解释一下vi中 :x ?? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-05-31 16:29 |只看该作者 |倒序浏览
在vi中  :x  是什么意思?
man中是这样说的,谁感兴趣来解释一下?
  -x            Encryption option; when used, vi simulates the
                   X  command  of  ex  and prompts the user for a
                   key.  This key is used to encrypt and  decrypt
                   text using the algorithm of the crypt command.
                   The X  command  makes  an  educated  guess  to
                   determine whether text read in is encrypted or
                   not.  The temporary buffer file  is  encrypted
                   also,  using  a transformed version of the key
                   typed in for the -x option.

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2003-05-31 17:17 |只看该作者

谁感兴趣来解释一下vi中 :x ??

是不是就是存盘退出

论坛徽章:
0
3 [报告]
发表于 2003-05-31 17:26 |只看该作者

谁感兴趣来解释一下vi中 :x ??

If you creat a file by vi tool and issue the vi command with -x option, that means you want to creat a file that other can not edit unless he hold the password you set when you creat this file originally.
  Creat a file with vi -x ensure the unique edit right to the file.

论坛徽章:
0
4 [报告]
发表于 2003-05-31 17:30 |只看该作者

谁感兴趣来解释一下vi中 :x ??

= :wq

论坛徽章:
0
5 [报告]
发表于 2003-06-01 09:09 |只看该作者

谁感兴趣来解释一下vi中 :x ??

对vi编辑的文件进行加密,使其不能被别人打开查看或者编辑。

论坛徽章:
0
6 [报告]
发表于 2003-06-01 09:19 |只看该作者

谁感兴趣来解释一下vi中 :x ??


楼上的说的很对!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP