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
how to : linux redhat up2date
- No Comments
- Jan, 12, 2010
- Angelo Schalley
- Linux
up2date configuration:
login as root,
and issue the following command:
up2date –configure
ENTER
7 ENTER
C ENTER
24 ENTER
C ENTER
ENTER
What the above command does is it will remove “kernel” from the skip package list, and hence, everything, including the kernel can now be upgraded automatically.
Read more on how to : linux redhat up2date…