亚洲城ca88手机版注册:linux下常用的截图,常用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. 亚洲城ca88手机版注册:linux下常用的截图,常用linux小工具介绍。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?”亚洲城ca88手机版注册 1

壹.ctags(Generate
tag files for source
code)是vim下方便代码阅读的工具。就算ctags也能够帮忙其余编辑器,不过它正式帮忙的唯有VIM。
ctags
起首是用来生成C代码的tags文件,后来扩展成能够转变种种语言的tags,
某些语言也可能有专有的tags生成工具(比如java的jtags, python的 ptags).

tail

录屏:

运维yum
install ctags 命令获取包$
./configure;$
make;$
sudo make install 编写翻译安装

可从

在linux下常用的录屏工具备伍种,能够baidu可能google下喔,笔者选择的是recordMydesktop,使用1二分有利于,用时注意先把每秒桢数调高,不然效果必然很差。

e:\>tail -fn 300 tool-slow.log
usage: TAIL [switches] [filename]*
switches: [-?] display this message
[-n] display last n lines of each file (default 10)
[-f filename] keep checking filename for new lines

在ubuntu下得以输入一下指令直接设置: