PHP is similar to many other scripting languages like perl, python etc. But unlike perl and python what makes it stand apart is, its adaptability and power to be used as both command line and server side scripting. I hear Yahoo’s mail runs on PHP.
I shall try to explain you the difference by executing the same file on different modes. Don’t expect too much from this post.
PHP Command Line Interface or PHP CLI as the name implies, is a way of using PHP in the system command line, like below. (Read the rest of this entry…)
Continue ReadingBasic Principles in Linux!
1. Everything is a file :
In Linux everything is considered as a file. Unlike windows, all devices like cd-rom, Ram, keyboard ,Monotor etc are considered as specific files. And these devices work accourding to its file configuration.
2. Configuration data of the system is stored in text usually named with extension, .conf :
All the configuration files of the system are saved as text file having an extension .conf. We need to edit these files using text editors like VI, VIM, PICO, NANO etc to change the system configuration. And system updation is done by modifying these conf files. Most of the system conf files will be located under the location /etc.
3. Connection pipes for standard I/O to chain programs :
Continue Reading