Yes, there's other tools that can make terminal output prettier on Linux. We all know that. But the "column" command is likely already there, on your system, waiting for you to use it. With "column...
It’s one of the few things that I think Powershell did more cleanly than Linux, was making those kind of options a lot clearer and pushing people to use them early on in education cycles, so knowledge of these cmdlets is more common than the Linux equivalents. (I know that’s harder to do with an all-volunteer OS built from the ground up versus a private company influencing education cycles, obviously. Linux always had the harder road.)
Format-Custom, Format-Hex, Format-List, Format-Table, and Format-Wide are pretty indispensable when working with Powershell.
Because precisely, 90% of the time, when it comes to Linux, the way you’re taught is to just grep what you need out.
I’ve taken classes for both Powershell and Linux command line in college, and the PS class focused a lot on those commands while the Linux class never once mentioned column while spending a lot of time on grep.
Funnily enough, I use PowerShell as my daily driver and I rarely ever use the Format verb cmdlets and think they need to stop teaching people to use them as much as they do… They’re only meant to modify how things are displayed, but in doing so, they trash the objects that were on the pipeline and replace them with formatting commands, and cause confusion when people try to do something with what they output
The worst is using them to select properties, they should not have included that ability at all, that’s what the Select-Object cmdlet is for, which outputs usable objects
Anyway, sorry for the rant… I just think those overall teach new users bad habits.
I’ve taken classes for both Powershell and Linux command line in college, and the PS class focused a lot on those commands while the Linux class never once mentioned column while spending a lot of time on grep.
column belongs to util-linux
A Linux class. Never mentioned column. Mind == boggled.
Ironically grep is its own program. Although commonly it’s the GNU one, so could be considered in the same group as coreutils.
It’s one of the few things that I think Powershell did more cleanly than Linux, was making those kind of options a lot clearer and pushing people to use them early on in education cycles, so knowledge of these cmdlets is more common than the Linux equivalents. (I know that’s harder to do with an all-volunteer OS built from the ground up versus a private company influencing education cycles, obviously. Linux always had the harder road.)
Format-Custom
,Format-Hex
,Format-List
,Format-Table
, andFormat-Wide
are pretty indispensable when working with Powershell.Because precisely, 90% of the time, when it comes to Linux, the way you’re taught is to just
grep
what you need out.I’ve taken classes for both Powershell and Linux command line in college, and the PS class focused a lot on those commands while the Linux class never once mentioned
column
while spending a lot of time ongrep
.Funnily enough, I use PowerShell as my daily driver and I rarely ever use the Format verb cmdlets and think they need to stop teaching people to use them as much as they do… They’re only meant to modify how things are displayed, but in doing so, they trash the objects that were on the pipeline and replace them with formatting commands, and cause confusion when people try to do something with what they output
The worst is using them to select properties, they should not have included that ability at all, that’s what the Select-Object cmdlet is for, which outputs usable objects
Anyway, sorry for the rant… I just think those overall teach new users bad habits.
Don’t be sorry for having an opinion, and that’s a pretty mild one all things considered.
column
belongs to util-linuxA Linux class. Never mentioned
column
. Mind == boggled.Ironically
grep
is its own program. Although commonly it’s the GNU one, so could be considered in the same group as coreutils.