- Products
- Learn
- Local User Groups
- Partners
- More
Step Into the Future of
AI-Powered Cyber Security
The State of Ransomware Q1 2026
Key Trends and Their Impact
AI Security Masters E8:
Claude Mythos: New Era in Cyber Security
Blueprint Architecture for Securing
The AI Factory & AI Data Center
Call For Papers
Your Expertise. Our Stage
CheckMates Go:
CheckMates Fest
I am using cpinfo -y to gather information on OS and Take version. The only issue is that it outputs the version to the screen and then the information. So I am always getting the cpinfo version published into the output (using Backbox Tech Survey.)
#cpinfo -y SecurePlatform |grep "Take" | awk '{print $2,$3}'
This is Check Point CPinfo Build 914000239 for GAIA
Take: 38
The full return is:
#cpinfo -y SecurePlatform
This is Check Point CPinfo Build 914000239 for GAIA
[SecurePlatform]
HOTFIX_ENDER_V17_AUTOUPDATE
HOTFIX_R81_20_JUMBO_HF_MAIN Take: 38
#
So in my report, I get this in my spreadsheet cell.
This is Check Point CPinfo Build 9140002A39 for GAIA
Take: 38
Any thoughts on how to not show the version? I have tried a few of the variables and they do not work
I just tested some options in the lab and cant see anything from -h flag for help that would do this, but will continue to look.
Andy
If your goal is to get JHF Jumbo Take number, then use this command:
cpinfo -y all 2>/dev/null|grep HF_MAIN|grep -v _SC|tail -n1|awk '{print $NF}'
Thank you. Almost there. This is what worked. I forgot about sending it to /dev/null
cpinfo -y SecurePlatform 2>/dev/null|tail -n2|awk '{print $2,$3}'
I get this in the lab...
[Expert@R82:0]# cpinfo -y SecurePlatform 2>/dev/null|tail -n2|awk '{print $2,$3}'
hotfixes..
Maestro Orchestrator, FW, and MDM/MLM all work for me. R82 thing?
Hm, does not give any output...
[Expert@R82:0]# cpinfo -y all 2>/dev/null|grep HF_MAIN|grep -v _SC|tail -n1|awk '{print $NF}'
[Expert@R82:0]#
Because there is no JHF for R82 released yet? 😉
Sorry, of course. I did on R81.20 and gave below, forgot to update, my bad.
Andy
[Expert@CP-GW:0]# cpinfo -y all 2>/dev/null|grep HF_MAIN|grep -v _SC|tail -n1|awk '{print $NF}'
89
[Expert@CP-GW:0]#
I personally use this:
jumbo=$(cpinfo -y fw1 2>/dev/null | grep JUMBO_HF_MAIN | awk '{print $NF}');echo "${jumbo:-0}"
The ${jumbo:-0} part at the end uses variable expansion to replace an empty variable (meaning no jumbo) with 0 so you always get a value.
@George_Ellis The "This is Check Point CPinfo Build ..." line is printed to STDERR. Adding 2>/dev/null as Jozko and I did redirects STDERR such that it no longer prints. Any time you get weird output like that which you can't seem to filter away with grep, tail, head, and other common tools, it's probably being written to STDERR.
You can also use 2>&1 to redirect STDERR into STDOUT, at which point the text can be filtered like everything else.
That works.
much better approach !
I can think of executing this command from VS (which in some old JHF shows no hotfixes) and from Domain within MDS.
if VSX : vsenv 0
if MDS : mdsenv
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
Tue 12 May 2026 @ 10:00 AM (CEST)
The Cloud Architects Series: Check Point Cloud Firewall delivered as a serviceWed 13 May 2026 @ 11:00 AM (EDT)
TechTalk: The State of Ransomware Q1 2026: Key Trends and Their ImpactThu 14 May 2026 @ 07:00 PM (EEST)
Under the Hood: Presentando Check Point Cloud Firewall como ServicioTue 12 May 2026 @ 10:00 AM (CEST)
The Cloud Architects Series: Check Point Cloud Firewall delivered as a serviceAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY