红联Linux门户
Linux帮助

vi打开大文件:(0602-101 Out of memory saving lines for undo)

发布时间:2016-03-11 15:37:30来源:linux网站作者:liufei_learning

在AIX 平台下用vi 打开大文件会报错:

0602-101 Out of memory saving lines for undo)

因为是/tmp 目录空间不足引起的,vi 默认路径是/tmp


解决方案1:
export EXINIT="set ll=20000000 dir=/home/tmp"  /**** /home/tmp为自定义空间足够的目录 *****/


解决方案2:

ESC :set dir=<your_choice>


本文永久更新地址:http://www.linuxdiyf.com/linux/18826.html