免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 973 | 回复: 0
打印 上一主题 下一主题

23个常用linux工具 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-01-07 16:12 |只看该作者 |倒序浏览

                [color="#02368D"]23个常用linux工具1. expect: “I use expect in some cron jobs to automate many sysadmin tasks that are usually repetitive; things like moving files around all of my desktops and the server and the like.”2. lft: “lft is like traceroute on steroids. You can get a lot more information than traceroute for debugging connections or just finding where a box/system is.”
3. mc: “It’s the best file manager there is. The transition from DOS to Linux was so much easier since I used Norton Commander on DOS.”
4. sdiff: “sdiff produces a human-friendly description of the differences between two text files. It shows the files side-by-side with the synbols to indicate lines only in the left file, lines that differ between the two files and lines only in the right file. Much easier to read than the output of diff.”
5. xargs: “xargs create command line from data on standard input.”
6. for, while: for, while are used to “loop through a list of items and do something for each one”
7. read: Used to “read lines of text from standard input into shell variables for further processing.”
8. sort: Used to “sort lines of text alphabetically or numerically; supports multiple sort keys.”
9. uniq: Used to “remove duplicated lines from a list.”
10. tr: Used to “translate or delete characters from a text stream.”
11. od: Used to “dump binary files in octal (or hex or binary).”
12. wc: Used to “count words (and characters, and lines) in files.”
13. top: “like vmstat, get a view of how the system is performing, see which processes are hogging all the memory.”
14. ps: “Get details on a specific process.”
15. date: “Useful call to make in a script file to output current information when benchmarking.”
16. env: “To check environment variables on another account to troubleshoot dotfiles.”
17. ln: “Ahhh…softlinks are a must in working on web sites.”
18. mget: “Not used much anymore, but it sure was nice to be ale to handle multiple files with one command
19. nslookup: what’s the real name of a computer … or “Is it safe to go there?”
20. passwd: usually having others issue the command to set a password I may temporarily use
21. ps: usually in conjunction with the “kill” command
22. uname: helpful when working on different computers which may not be in synch at the OS level.
23. whoami: yes, who am I … as in “What userid am I running under?”

               
               
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/71520/showart_2143212.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP