A good command of the layout format in the Linux command line

Source: Internet
Author: User
1. Demand Scenario

When you enter a Linux command, you want the character interface to display a table-like layout.

2. Syntax description
用法: column [选项] [文件 ...]选项: -c, --columns <宽度>     输出宽度(字符数) -t, --table              创建表格 -s, --separator <字符串> 可用的表格分隔符 -o, --output-separator <字符串>                          表格输出列分隔符,默认为两个空格 -x, --fillrows           先填充行,再填充列 -h, --help     显示此帮助并退出 -V, --version  输出版本信息并退出
3. Implementation results

Execution: "Ceph df Detail"


Execution: "Ceph df Detail |column-t"

by COLUMN-T, the converted format is more aesthetically pleasing.

A good command of the layout format in the Linux command line

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.