Expertise level: Easy
To execute a Perl or PHP script from the shell, use this procedure:
- Login with SSH as root.
- Navigate to the directory where the script files are located.
- Type this command to execute the Perl script:
- Type this command to execute the PHP script:
- php fileName.php
You will get the output at the console.