Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1367587
  • 博文数量: 828
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 5030
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-29 13:29
文章分类

全部博文(828)

文章存档

2011年(1)

2008年(827)

我的朋友

分类: LINUX

2008-08-29 13:47:29

 
1.expect:“Iuseexpectinsomecronjobstoautomatemanysysadmintasksthatareusuallyrepetitive;thingslikemovingfilesaroundallofmydesktopsandtheserverandthelike.”

2.lft:“lftisliketracerouteonsteroids.Youcangetalotmoreinformationthantraceroutefordebuggingconnectionsorjustfindingwhereabox/systemis.”

3.mc:“It’sthebestfilemanagerthereis.ThetransitionfromDOStoLinuxwassomucheasiersinceIusedNortonCommanderonDOS.”

4.sdiff:“sdiffproducesahuman-friendlydescriptionofthedifferencesbetweentwotextfiles.Itshowsthefilesside-by-sidewiththesynbolstoindicatelinesonlyintheleftfile,linesthatdifferbetweenthetwofilesandlinesonlyintherightfile.Mucheasiertoreadthantheoutputofdiff.”

5.xargs:“xargscreatecommandlinefromdataonstandardinput.”

6.for,while:for,whileareusedto“loopthroughalistofitemsanddosomethingforeachone”

7.read:Usedto“readlinesoftextfromstandardinputintoshellvariablesforfurtherprocessing.”

8.sort:Usedto“sortlinesoftextalphabeticallyornumerically;supportsmultiplesortkeys.”

9.uniq:Usedto“removeduplicatedlinesfromalist.”

10.tr:Usedto“translateordeletecharactersfromatextstream.”

11.od:Usedto“dumpbinaryfilesinoctal(orhexorbinary).”

12.wc:Usedto“countwords(andcharacters,andlines)infiles.”

13.top:“likevmstat,getaviewofhowthesystemisperforming,seewhichprocessesarehoggingallthememory.”

14.ps:“Getdetailsonaspecificprocess.”

15.date:“Usefulcalltomakeinascriptfiletooutputcurrentinformationwhenbenchmarking.”

16.env:“Tocheckenvironmentvariablesonanotheraccounttotroubleshootdotfiles.”

17.ln:“Ahhh…softlinksareamustinworkingonwebsites.”

18.mget:“Notusedmuchanymore,butitsurewasnicetobealetohandlemultiplefileswithonecommand

19.nslookup:what’stherealnameofacomputer…or“Isitsafetogothere?”

20.passwd:usuallyhavingothersissuethecommandtosetapasswordImaytemporarilyuse

21.ps:usuallyinconjunctionwiththe“kill”command

22.uname:helpfulwhenworkingondifferentcomputerswhichmaynotbeinsynchattheOSlevel.

23.whoami:yes,whoamI…asin“WhatuseridamIrunningunder?”

linux下的23个常用工具linux下的23个常用工具linux下的23个常用工具linux下的23个常用工具linux下的23个常用工具linux下的23个常用工具linux下的23个常用工具linux下的23个常用工具linux下的23个常用工具linux下的23个常用工具
阅读(572) | 评论(0) | 转发(0) |
0

上一篇:suse 使用rc.local

下一篇:Linux系统知识

给主人留下些什么吧!~~