Format output from a command

Martin Skorvald

New Member
Joined
Feb 2, 2019
Messages
5
Reaction score
2
Credits
0
Hi
I'm a newbie, so maybe i'm not at the right place for this question.

This is an example:

Starting Nmap 7.40 ( https://nmap.org ) at 2019-02-02 11:19 GMT
Nmap scan report for elegw01.corp.kallekula.se (10.20.20.1)
Host is up (-0.20s latency).
MAC Address: 00:90:7F:E2:42:0D (WatchGuard Technologies)

Question: How can I get this output in a table format?

PS: in powershell I just tepe (example) : Get-Process -Name powershell | Format-Table

//marsk
 


Tolkem

Well-Known Member
Joined
Jan 6, 2019
Messages
1,527
Reaction score
1,253
Credits
11,162

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,957
Reaction score
7,925
Credits
37,761
No need, Martin (& welcome to linux.org :))

We don't usually worry about Solved, but I can put one in your Subject Title if you wish?

Enjoy your Linux!

Chris Turner
wizardfromoz

BTW nice fix, too, @Tolkem :p, if that helped the OP
 

Members online


Top