cURL is a most excellent library that enables you to communicate across a network with a number of protocols. PHP integrated the cURL library early in its development and nowadays its use is widespread across countless applications. To read more...
In Linux/Unix command line you can follow a file with tail -f [filename]. As the file is updated, the screen will update. This is handy for following error logs, etc. tail -f [filename] I just learned from a co-worker that the ‘less’...
The above diagram provides a conceptual view of the Linux architecture. Like all conceptual views, it is not a perfect match to the full complexity of Linux. The key point is to understand that the Kernel Space (shown in blue)...
When Apache Directory Index is enabled, if you browse to a url that have no index file present, you will see list of all files. This is not good for securiy as hackers can see all files present in the directory.
Some commonly used shutdown/restart commands under Linux are shutdown, halt, reboot, and init. They can all achieve the purpose of restarting the system, but the internal working process of each command is different. Through the introduction of this...
As root, pico /etc/fstab Add this line: /dev/hda8 /windata vfat user,umask=000,rw 0 0 Make sure that /dev/hda8 is in fact pointing at your Windows data partition. Note also that this assumes that the Windows data partition is formatted as...
As root, pico /etc/sysconfig/harddisks
USE_DMA=1
MULTIPLE_IO=16
EIDE_32BIT=1
LOOKAHEAD=1
EXTRA_PARMS= hdparm ?u1 /dev/hda
Source: “Linux (Red Hat 7.0+) Installation on the Compaq Armada E7400“
Put it in a daily cronjob if you like, or extend it to copy the backup to another machine: