linux show php config file & path
- No Comments
- Feb, 05, 2010
- Angelo Schalley
- Linux
php -r ‘phpInfo();’ | grep php.ini
ksh scripting
- No Comments
- Jan, 26, 2010
- Angelo Schalley
- Linux
if [ -f “/backup/01.tar” ]
then
mv /backup/01.tar /backup/01.tar.old
else
echo “Backup van gisteren avond is MISLUKT ! ”
mail -s “backup mislukt” iets@domein.be < /var/log/backup.log
exit
fi
if [ -f “/backup/02.tar” ]
then
mv /backup/02.tar /backup/02.tar.old
else
echo “Backup van gisteren avond is MISLUKT ! ”
mail -s “Netscaler backup mislukt” iets@domein.be < /var/log/backup.log
exit
fi