HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: column command in HPUX
Operating System - HP-UX
1827295
Members
4280
Online
109717
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2007 12:20 AM
11-15-2007 12:20 AM
Hi,
there is a 'column' command in Linux that is responsible for columnating lists of files,wordc etc. Its manual is available for exampel here:
http://www.linuxmanpages.com/man1/column.1.php
Is there anything similar in HPUX B.11.11?
Thank you in advance.
there is a 'column' command in Linux that is responsible for columnating lists of files,wordc etc. Its manual is available for exampel here:
http://www.linuxmanpages.com/man1/column.1.php
Is there anything similar in HPUX B.11.11?
Thank you in advance.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2007 12:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2007 01:05 AM
11-15-2007 01:05 AM
Re: column command in HPUX
hi,
You could use awk to columnize the output. For example, a simple ls -lrt column can be columized as given below.
$ ls -lrt |awk '{print $8" pause "$9}'|more
07:33 pause BRSW.mdb
07:34 pause BRSW.ldb
12:24 pause STM_BBROL_sum.xls
05:29 pause core.26265
20:38 pause 20071112_STM_BRTRS_trade.txt
20:38 pause 20071112_STM_BRTRS_sum.txt
20:50 pause 20071112_STM_BRTRI_sum.txt
20:50 pause 20071112_STM_BRTRI_trade.txt
21:46 pause 20071112_STM_BBROL_DELTA_sum.txt
21:48 pause 20071112_STM_BBROL_DELTA_trade.txt
22:35 pause 20071112_STM_BBROL_sum.txt
22:39 pause 20071112_STM_BBROL_trade.txt
01:30 pause 20071112_STM_BBROL_DELTA_sumrev.txt
01:30 pause 20071112_STM_BBROL_sumrev.txt
02:09 pause 20071112_STM_BRMOP_trade.txt
02:09 pause 20071112_STM_BRMOP_sum.txt
05:07 pause 20071112_STM_BRMOP_Vega_sum.txt
05:07 pause 20071112_STM_BRMOP_Vega_trade.txt
Thanks,
Srikanth
You could use awk to columnize the output. For example, a simple ls -lrt column can be columized as given below.
$ ls -lrt |awk '{print $8" pause "$9}'|more
07:33 pause BRSW.mdb
07:34 pause BRSW.ldb
12:24 pause STM_BBROL_sum.xls
05:29 pause core.26265
20:38 pause 20071112_STM_BRTRS_trade.txt
20:38 pause 20071112_STM_BRTRS_sum.txt
20:50 pause 20071112_STM_BRTRI_sum.txt
20:50 pause 20071112_STM_BRTRI_trade.txt
21:46 pause 20071112_STM_BBROL_DELTA_sum.txt
21:48 pause 20071112_STM_BBROL_DELTA_trade.txt
22:35 pause 20071112_STM_BBROL_sum.txt
22:39 pause 20071112_STM_BBROL_trade.txt
01:30 pause 20071112_STM_BBROL_DELTA_sumrev.txt
01:30 pause 20071112_STM_BBROL_sumrev.txt
02:09 pause 20071112_STM_BRMOP_trade.txt
02:09 pause 20071112_STM_BRMOP_sum.txt
05:07 pause 20071112_STM_BRMOP_Vega_sum.txt
05:07 pause 20071112_STM_BRMOP_Vega_trade.txt
Thanks,
Srikanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2017 03:28 PM
02-13-2017 03:28 PM
Re: column command in HPUX
pr -t -c #
e.g.: ls | pr -t -c 2
.. for a two-column file listing
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP