- 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
Dear all,
would you please help me out with my "issue" :-)? How do I "save" bash history on the small embedded boxes?
in Gaia you just have to edit /etc/bashrc the parameter export HISTFILESIZE=10000 and done.
But on the SMBs it's not the same...
I've found an old article but the "bash" history doesn't work:
echo $HISTFILE returns: /dev/null.
Use vi /pfrm2.0/etc/bashrc and change the specific line to export HISTFILE=$HOME/.bash_history
After this change exit the session then login again and now you should get
echo $HISTFILE
//.bash_history
After I login again on to the box the history is empty.
Thank you!
KR
Rok
You have to set it in /pfrm2.0/etc/bashrc then it works - just tried it.
In /pfrm2.0/etc/bashrc we see that $HISTFILE is defined as /dev/null. I tried to use a real logfile and all works as expected now!
You have to set it in /pfrm2.0/etc/bashrc then it works - just tried it.
Which Parameter should I set in the /pfrm2.0/etc/bashrc ? The same as mentioned in my part?
export HISTFILE=$HOME/.bash_history
I'did set it to .bash_history in the file you mentioned, but after reconecting to the GW per SSH the history is not there.
I did set mine to /var/log/mybashist, did a touch /var/log/mybashist, and after log out/in or disconnect/reconnect it shows the last commands. Compare cat /var/log/mybashist with output of history.
/var/log will be wiped upon rebooting.
I know that 😉 Just for testing. I do not need this bash history....
Yes the HISTFILE, please be aware, that everything except /pfrm2.0 is wiped upon reboot.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
Fri 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!Fri 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!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY