Print Download PDF Send Feedback

Previous

Next

Running Check Point Commands in Shell Scripts

To run Check Point commands in shell scripts, you need to add the call for Check Point shell script /etc/profile.d/CP.sh to your shell script. Add this call right under the sha-bang line.

#!/bin/bash

 

source /etc/profile.d/CP.sh

 

<Check Point commands>

[mandatory last new line]