Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

awk issue

$
0
0
Hi all,

i am trying to use below command to see the output of hardware inventory, but i only see 2 first line no output of the command.

Code:

awk '/Hardware/ {print $0}' XXX_result.txt
Hardware inventory:
Hardware inventory:

any idea how to see whatever is under hardware inventory.

i will really appreciate your help!

jared

Viewing all articles
Browse latest Browse all 16232

Trending Articles