[Gadget] Linux the following formatting Tools-column

Source: Internet
Author: User

When you see the output of Linux under the column crooked, is not looking very uncomfortable? The column command makes it easy to solve the problem.

Example:


We generally only use this one of the above methods.

Other ways to use column include the following:

Options Meaning
-C Character Count Specify the column width to display
-S " delimiter " Specify delimiter when using the-T option (agree to specify multiple separators )
-T Infers the number of columns in the input row to create a table . The delimiter is used with the character specified in-S. Assuming no delimiter is specified, the default is a space
-X Change the sort order (left → right).

The default order is (top → bottom)



References:

http://code.csdn.net/news/2819566

Http://www.atmarkit.co.jp/flinux/rensai/linuxtips/552text2col.html

Mans column

[Gadget] Linux the following formatting Tools-column

Related Article

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.