- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
10 December @ 5pm CET / 11am ET
Announcing Quantum R82.10!
Learn MoreOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
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 |
|---|---|
| 16 | |
| 13 | |
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
Fri 12 Dec 2025 @ 10:00 AM (CET)
Check Mates Live Netherlands: #41 AI & Multi Context ProtocolFri 12 Dec 2025 @ 10:00 AM (CET)
Check Mates Live Netherlands: #41 AI & Multi Context ProtocolTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY