Some useful but unknown Unix Commands

Source: Internet
Author: User
Tags processing text website server disk usage

Many Linux commands come to mind, some of which are unknown and others are common, as follows:

  • Xargs or parallel: runs some programs in parallel and has many options for commands.
  • Sed and awk: widely known and useful command for processing text files, faster than Python and Ruby
  • M4: simple macro Processing Command
  • Screen: Powerful terminal reuse and session persistence tools, see http://www.ibm.com/developerworks/cn/linux/l-cn-screen/
  • Yes: Repeated output strings see http://codingstandards.iteye.com/blog/826940
  • CAL: Very nice calendar
  • Env: run a command, which is very useful in scripts.
  • Look: Search for English words starting with a string
  • Cut and paste and join: data operation command
  • FMT: format a Text Segment
  • PR: format a string of text or a large file in units of a page/column, see the http://hi.baidu.com/mchina_tang/item/1ce11d5d317dfc05aaf6d70d
  • Fold: wrap text
  • Column: format text into columns or tables
  • Expand and unexpand: Convert Between tabs and spaces
  • NL: Add row number
  • SEQ: print the row number
  • BC: Calculator
  • Factor: the factor that outputs an integer. The factor outputs an integer prime factor.
  • NC: Network debugging and Data Transmission
  • DD: move data between files and devices
  • File: determines the type of a file.
  • Stat: view the File status
  • Tac: output file content from the last line, which is opposite to CAT output
  • Shuf: randomly selects data for a file by row.
  • COMM: compare an ordered file by row
  • HD and BVI: outputs or edits binary files
  • Strings: view the content in the binary file
  • TR: character translation or operation character
  • Iconv or uconv: the string to be converted.
  • Split and csplit: Divide files
  • 7z: compressed files with high compression ratio
  • LDD: View dynamic library information
  • NM: view the symbol table in the target file
  • AB: website server stress testing tool
  • Strace: Debug system calls
  • MTR: a better route tracking tool for network debugging
  • Cssh: Visual concurrent Shell
  • Wireshark and tshark: Packet Capture and network debugging
  • Host and dig: Find DNS
  • Lsof: view process file descriptors and socket Information
  • Dstat: a useful statistical tool for system data.
  • Iostat: CPU and disk usage statistics
  • Htop: improved version of top
  • Last: logon history
  • W: Current Login User
  • ID: view User/group representation Information
  • SAR: Tools for viewing historical system statistics
  • Iftop or nethogs: view the network utilization of the socket or process
  • SS: View statistics
  • Dmesg: startup or system error message
  • (Linux) hdparm: displays or sets disk parameters.
  • (Linux) lsb_release: view the release version of the Linux System
  • (Linux) lshw: View hardware information
  • Fortune, ddate, and SL: It depends on whether you think the steam engine is more useful than quotes.

For more commands, see Joshua Levy's reply in another Q & A post, "command line saving skills that every linux user should understand.

Some useful but unknown Unix Commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.