Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Will_H
Contributor

oneliner for identifying installed hotfix version

Does anyone have a oneliner for identifying installed hotfix version for gateways?

0 Kudos
3 Replies
JozkoMrkvicka
Authority
Authority

cpinfo -y all

Kind regards,
Jozko Mrkvicka
0 Kudos
Will_H
Contributor

There is a lot of noise in that.. I was hoping more for something that would give like the following..

[Expert@HOSTNAME:0]#Tell-Me-Your-HF-Version
BUNDLE_R80_30_JUMBO_HF_MAIN Take: 219

So that we can script pulling the hotfix version from our 900+ gateways..

Thanks,

0 Kudos
Danny
Champion Champion
Champion

cpinfo -y all 2>/dev/null|grep JUMBO|tail -n1|awk '{print $3}'

More advanced:
echo -n $(hostname); echo -n " > "; echo -n $(cat /etc/cp-release); echo -n " JHF "; cpinfo -y all 2>/dev/null|grep JUMBO|tail -n1|awk '{print $3}'

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 20 May 2025 @ 11:30 AM (PDT)

    Las Vegas: Check Point Hybrid Mesh

    Wed 21 May 2025 @ 11:30 AM (MST)

    Tempe, AZ: Check Point Hybrid Mesh

    Tue 03 Jun 2025 @ 06:00 PM (EDT)

    Montreal: CPX Recap

    Tue 10 Jun 2025 @ 06:00 PM (EDT)

    Quebec City: CPX Recap
    CheckMates Events