linux学校工具,23个常用linux工具

23个常用linux工具

[日期:2007-07-31]

来源:Linux公社

作者:Linuxidc

[字体:大 中 小]

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?”0b1331709591d260c1c78e86d0c51c18.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值