- 博客(9)
- 收藏
- 关注
转载 Linux - test command or [ expr ]
转自 http://doc.dev.md/lsst/ch03sec02.htmltest command or [ expr ] is used to see if an expression is true, and if it is true it return zero(0), otherwise returns nonzero for false.Syntax: t
2014-02-15 13:00:34 512
转载 Linux - Linux的五个查找命令
http://www.ruanyifeng.com/blog/2009/10/5_ways_to_search_for_files_using_the_terminal.html
2014-02-15 12:58:17 381
转载 Linux - How to remove the new line at the end of file when using vim
open file with "vim -b file", then :set noeol:wqor you can set like this in ~/.vimrc file to make new files not have EOLau BufWritePre * :set binary | set noeolor have EOLau BufWr
2014-02-15 12:57:15 498
转载 Linux - Linux Command Related with Process
转自 http://doc.dev.md/lsst/ch02sec20.htmlFor this purposeUse this CommandExamples*To see currently running process ps$ psTo stop any process by PID i.e. to kill proces
2014-02-15 12:56:00 371
转载 Linux - tr utility (translateing range of characters)
转自 http://doc.dev.md/lsst/ch05sec05.html"tr" means "translate"Syntax: tr {from-pattern-1} {to-pattern-2}for example: tr "[a-z]" "[A-Z]"不加引号也可以,什么情况下必须加引号?
2014-02-15 12:52:26 423
转载 Linux - Redirection of Standard output/input
转自 http://doc.dev.md/lsst/ch02sec15.htmlThere are three main redirection symbols >,>>,> if file already exist, it will be overwritten else new file is created. After input, pres
2014-02-15 12:49:15 559
转载 Linux - Wild cards
* Matches any string orgroup of characters.? Matches any single character.[...] Matches any one of the enclosed characters [..-..] A pair of characters separated by a minus
2014-02-15 12:45:40 359
转载 Linux - Linux Console (Screen)
转自 http://doc.dev.md/lsst/misc.htm#colorfunandmoreIn Linux everything is considered as a file, our console is one of such special file.You can write special character sequences to console, w
2014-02-15 12:43:59 510
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人