Formatting of Linux command line output

When entering Linux commands, I want the character interface to display a layout similar to a table.

用法:
 column [选项] [文件 ...]

选项:
 -c, --columns <宽度>     输出宽度(字符数)
 -t, --table              创建表格
 -s, --separator <字符串> 可用的表格分隔符
 -o, --output-separator <字符串>
                          表格输出列分隔符,默认为两个空格
 -x, --fillrows           先填充行,再填充列

 -h, --help     显示此帮助并退出
 -V, --version  输出版本信息并退出

 

Execute: "ceph df detail"

Execute: "ceph df detail |column -t"

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325035653&siteId=291194637