码迷,mamicode.com
首页 >  
搜索关键字:less    ( 4949个结果
Linux 命令大全
Linux 命令大全 1、文件管理 cat chattr chgrp chmod chown cksum cmp diff diffstat file find git gitview indent cut ln less locate lsattr mattrib mc mdel mdir mktemp more mmove mread mren mtools mtool...
分类:系统相关   时间:2014-08-17 17:13:03    阅读次数:541
记录一次追查server死机& 登录异常情况
linux 服务器死机了,于是追查原因。查看boot.logwade@koala:/var/log$ less boot.log看不出异常显示开机信息wade@koala:/var/log$ less dmesg区别;(未明)/var/log/boot.log --- System boot l.....
分类:其他好文   时间:2014-08-17 00:56:51    阅读次数:293
Less简单用法
使用工具 Hbuilderindex.html 百度 ...
分类:其他好文   时间:2014-08-16 16:21:30    阅读次数:212
Partition List
Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the origi...
分类:其他好文   时间:2014-08-16 16:21:10    阅读次数:229
Linux中如何清空文件
经常会碰到查看日志文件,如果日志文件太大,用less,more,vi,tail命令查看起来会比较麻烦,也挺难定位到具体错误,而定期备份,定期清空应该是好主意,当然清空之前必须备份。要是日志文件本身不存在,用mkdir可以建个空文件,但系统程序已经在调用,那么要如何清空其中文件,其实挺简单: 方法一: # cat /dev/null > error.log 方法二: # echo "" | tee error.log 方法三: # truncate -s error.log NOTE: # echo /de...
分类:系统相关   时间:2014-08-16 11:14:00    阅读次数:341
Linux学习笔记033_8文本处理
less:一次显示不完是可以向上(n),向下翻页(N),并且可以查找:/keyword,v进入编辑器cat:一次显示完文本内容more:回车向下翻一行,空格向下翻一页,但是不能向上翻页nl:显示行号的输出head:显示文件的前10行head-n15a:显示文件a的前15行tail:显示文件的最后10行tail-n15a:显..
分类:系统相关   时间:2014-08-16 01:10:00    阅读次数:237
?Grunt系列教程之(一)
?Grunt系列教程之一     ?grunt是一个强大的自动化构建工具,它能自动的执行你自定义的任务,帮助你编译、压缩、单元测试等。它可以极大的减轻作为程序员的工作量。一切无聊枯燥且重复的工作就交给grunt来完成吧!     ?grunt中有非常多的插件,有官方的可以直接使用,如果你觉得这还不够,你可以自己亲自写一个插件,将其发布到npm上。     ?常用的grunt插件有:...
分类:其他好文   时间:2014-08-15 22:37:09    阅读次数:222
less 里面 opacity的写法
今天写了个opacity, 竟然less编译不过,上网搜了一个写法.opacity (@opacity) { @opacityPercentage: @opacity * 100; opacity: @opacity; -ms-filter: ~"progid:DXImageTra...
分类:其他好文   时间:2014-08-15 17:20:49    阅读次数:254
HDU4950:Monster
Problem Description Teacher Mai has a kingdom. A monster has invaded this kingdom, and Teacher Mai wants to kill it. Monster initially has h HP. And it will die if HP is less than 1. Teacher...
分类:其他好文   时间:2014-08-15 14:44:09    阅读次数:242
HDU4952:Number Transformation
Problem Description Teacher Mai has an integer x. He does the following operations k times. In the i-th operation, x becomes the least integer no less than x, which is the multiple of i. He w...
分类:其他好文   时间:2014-08-15 14:41:45    阅读次数:165
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!