文件查看 cat: 从首行开始显示整个文档 tac: 从尾行开始显示整个文档 nl: 显示整个文档内容并加上行号(注:空行不会加行号) more: 显示部分文档(空格翻页查看,回车逐行查看,q键退出,/自上而下查找) 空白键 (space) :代表向下翻一页 Enter :代表向下翻『一行』 /字串 ...
分类:
系统相关 时间:
2016-09-06 22:51:22
阅读次数:
227
Ctrl + Alt + Space 快速导入任意类 Alt + enter键 快速导入模块、创建类 Ctrl + / 注释/取消行注释 Ctrl + Shift + / 块注释 Ctrl + D 复制当前行 Ctrl + Y 删除当前行 ...
分类:
其他好文 时间:
2016-09-06 07:56:54
阅读次数:
235
1、复制/etc/rc.d/rc.sysinit文件至/tmp目录,将/tmp/rc.sysinit文件中的以至少一个空白字符开头的行的行首加#;#cp/etc/rc.d/rc.sysinit/tmp&&sed-i‘s/^[[:space:]]/#&/g‘/tmp/rc.sysinit2、复制/boot/grub/grub.conf至/tmp目录中,删除/tmp/grub.conf文件中的行..
分类:
其他好文 时间:
2016-09-05 17:25:02
阅读次数:
121
1、复制/etc/rc.d/rc.sysinit文件至/tmp目录,将/tmp/rc.sysinit文件中的以至少一个空白字符开头的行的行首加#;cp/etc/rc.d/rc.sysinit/tmp
sed-i‘s/\(^[[:space:]]\)/#\1/g‘/tmp/rc.sysinit2、复制/boot/grub/grub.conf至/tmp目录中,删除/tmp/grub.conf文件中的行首的空白字..
分类:
系统相关 时间:
2016-09-05 17:21:53
阅读次数:
228
转自:https://iksinc.wordpress.com/tag/continuous-bag-of-words-cbow/ 清晰易懂。 Vector space model is well known in information retrieval where each document ...
分类:
其他好文 时间:
2016-09-04 20:38:38
阅读次数:
721
http://www.cnblogs.com/a757956132/p/4644910.html http://my.oschina.net/songhongxu/blog/209951 一、内存溢出类型 1、java.lang.OutOfMemoryError: PermGen space JVM ...
分类:
编程语言 时间:
2016-09-04 19:09:36
阅读次数:
256
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space fo ...
分类:
其他好文 时间:
2016-09-04 15:48:56
阅读次数:
129
oracle database 11G 增加了临时表空间收缩的功能。这无需重建临时表空间,就可以减少增长的过大临时表空间。 临时表空间缩小到20M example: alter tablespace temp shrink space keep 20M; 尽可能小的缩小临时表空间 example: ...
分类:
其他好文 时间:
2016-09-04 11:41:52
阅读次数:
252
题目: Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 让head不断走一步,如果cur不为null,走两步,这样如果存在cy ...
分类:
其他好文 时间:
2016-09-04 10:18:09
阅读次数:
125
1、显示/boot/grub/grub.conf中以至少一个空白字符开头的行;[root@localhost/]#grep"^[[:space:]]\+"/boot/grub/grub.confroot(hd0,0)kernel/vmlinuz-2.6.32-504.el6.x86_64roroot=UUID=aa5cf6b3-e1b5-4eb2-95e6-e202f2890edfrd_NO_LUKSrd_NO_LVMLANG=en_US.UTF-8rd_NO_MDSYSF..
分类:
编程语言 时间:
2016-09-04 00:15:39
阅读次数:
216