- Products
- Learn
- Local User Groups
- Partners
- More
What’s New in Device Diagnostics?
Dec 2nd @ 5pm CET / 11am EST
AI Security Masters
Security in the Pace of AI:
From Threat to Force Multiplier
CPX is Back!
Join us in Las Vegas, Vienna, and/or Bangkok!
Check Point Named a Leader
The Forrester Wave:
Enterprise Firewall Solutions, Q4 2026
What’s New in Agentic Network Orchestration
CheckMates Go:
Fun Ding
I received script from TAC to delete temp files from the tmp directory , but the script runs forever and it does not delete the files .
I am not sure if the script is correct .Can anyone check this script if it is correct?
It looks the rm-f $file is in echo
for file in *; do file_size=$(du $file | awk '{print $1}'); if [ $file_size == 0 ]; then echo "Deleting empty file $file with file size $file_size!"; echo "rm -f $file"; fi;done
hey,
Script is fine (but is incomplete, there is missing a part from the beginning), it's just returning what you need to remove - there the echo.
Not sure if that is the purpose, and you should go over the RM lines and see if you are OK to remove those files or not.
Thank you,
If you got it from TAC, please contact them again 8)
I tried to contact TAC, they do not respond.
Just want to check if the script is correct
hey,
Script is fine (but is incomplete, there is missing a part from the beginning), it's just returning what you need to remove - there the echo.
Not sure if that is the purpose, and you should go over the RM lines and see if you are OK to remove those files or not.
Thank you,
Thank you Sorin,
That is what i suspected.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
Tue 24 Nov 2026 @ 01:30 PM (GMT)
La nueva realidad de los ataques DDoS: autonomía, escala y el futuro de la defensaWed 02 Dec 2026 @ 03:30 PM (GMT)
The New DDoS Reality: Autonomy, Scale, and the Future of DefenseThu 03 Dec 2026 @ 11:00 AM (EST)
Under the Hood: Check Point Cloud Firewall for Nutanix - How to Secure your AI WorkloadsTue 24 Nov 2026 @ 01:30 PM (GMT)
La nueva realidad de los ataques DDoS: autonomía, escala y el futuro de la defensaWed 02 Dec 2026 @ 03:30 PM (GMT)
The New DDoS Reality: Autonomy, Scale, and the Future of DefenseThu 03 Dec 2026 @ 11:00 AM (EST)
Under the Hood: Check Point Cloud Firewall for Nutanix - How to Secure your AI WorkloadsAbout CheckMates
Learn Check Point
Advanced Learning
WE SECURE YOUR AI TRANSFORMATION