第三运行级别:multi-user.target第五运行级别:graphical.target#前者是符号连接指向老大后面的targetrunlevel3.target->multi-user.targetrunlevel5.target->graphical.target█修改开机默认运行级别:●方法1:默认级别转换为3(文本模式)ln-sf/lib/systemd/system/m..
分类:
其他好文 时间:
2017-06-09 17:25:35
阅读次数:
125
Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You must do this in-place without altering the nodes' values. For ...
分类:
其他好文 时间:
2017-06-08 00:23:39
阅读次数:
140
Nginx上部署HTTPS依赖OpenSSL库和包含文件,即须先安装好libssl-dev,且ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/,然后在编译配置Nginx时要指定--with-http_ssl_module。另外,要在Shell中... ...
分类:
Web程序 时间:
2017-06-06 18:21:58
阅读次数:
252
1.软连接命令:ln <link的缩写> ln -s [原文件] [目标文件](改名) 功能描述:生成链接文件 -s:创建软连接 (把原文件生成链接文件) 硬链接特征: 1.拥有相同的的i节点和储存block块,可看作是一个文件 2.可通过i节点识别 3.不能跨分区 4.不能针对目录使用(只有文件才 ...
分类:
系统相关 时间:
2017-06-04 21:19:59
阅读次数:
206
1、创建到目标板相关文件的链接 ln -s asm-arm asm ln -s arch-s3c24x0 asm-arm/arch ln -s proc-armv asm-arm/proc 2、创建include/config.mk文件,内容如下: ARM = arm CPU = arm920t B ...
分类:
其他好文 时间:
2017-06-04 09:51:03
阅读次数:
151
history记录中添加时间,用户地址等信息vi/etc/profileexportHISTTIMEFORMAT="%F%T`who-uami2>/dev/null|awk‘{print$NF}‘|sed-e‘s/[()]//g‘``whoami`"history记录添加到syslog日志方法一:推荐vi/etc/profilefunctionlog2syslog{declareCOMMANDCOMMAND=$(fc-ln-0)logger-plo..
分类:
其他好文 时间:
2017-06-03 19:25:01
阅读次数:
361
http://blog.csdn.net/wesley2005/article/details/51501514 http://blog.csdn.net/wesley2005/article/details/51501514 目录: (1) u命令(反汇编) (2) dt命令(查看数据结构) (3 ...
分类:
数据库 时间:
2017-06-03 19:13:06
阅读次数:
310
cat: cksum: cmp: diff: file: find: cut: ln: mc: mv: od: paste: split: tee: ...
分类:
系统相关 时间:
2017-06-02 21:07:19
阅读次数:
314
1.Linux链接概念Linux链接分两种,一种被称为硬链接(Hard Link),另一种被称为符号链接(Symbolic Link)。默认情况下,ln命令产生硬链接。 【硬连接】硬连接指通过索引节点来进行连接。在Linux的文件系统中,保存在磁盘分区中的文件不管是什么类型都给它分配一个编号,称为索 ...
分类:
系统相关 时间:
2017-06-02 15:42:53
阅读次数:
178
B 可以二分相遇的坐标;也可以二分时间,判断是否存在两个人的区间没有交。 An easy way to intersect a number of segments [l1,?r1], ..., [ln,?rn] is to compute L?=?max li and R?=?min ri. If ...
分类:
其他好文 时间:
2017-06-02 14:50:11
阅读次数:
136