$stat <file name> command basically displays file or file-system status. stat command is used to find Access , Modify, Change date and time for any file or directory in Unix like operating systems. e.g $stat /root/install.log File: `/root/install.log' Size: 17154…

What is PHP? <?php … ?> PHP (Hypertext Preprocessor) is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. PHP is a scripting language designed to fill the gap between SSI…

sed is stream editor for filtering and transforming text. Sed  is a stream editor.  A stream editor is used to perform basic text transformations on an input stream (a file or input from  a  pipeline). While  in  some  ways similar…

PostgreSQL database server installation and configuration in debian / ubuntu Introduction : PostgreSQL is a fully featured object-relational database management system. It supports a large part of the SQL standard and is designed to be extensible by users in many…

Hi all, In this article you will know some very very basic commands about postgresql. When i started learning postgresql, I found bit strange when “show databases”, “show tables”, and “show columns” command did not work. I was using mysql…

CREATE DATABASE CREATE DATABASE dbName; CREATE TABLE (with auto numbering integer id) CREATE TABLE tableName ( id serial PRIMARY KEY, name varchar(50) UNIQUE NOT NULL, dateCreated timestamp DEFAULT current_timestamp ); Add a primary key ALTER TABLE tableName ADD PRIMARY KEY…

In Linux, as in most other Unix-like operating systems, it is common to use a whole partition of a hard disk for swapping (paging). However, with the 2.6 and later Linux kernel, swap files are just as fast as swap…

Linux System Configuration and the proc filesystem The /proc filesystem The /proc is a virtual filesystem which is getting mounted everything when your system starts. It is used to store many system configuration parameters. It is a filesystem that resides…

ext2, ext3, ext4 and reiserfs are all filesystems created for Linux (GNU-Linux). This article explains the following: High level difference between these filesystems. How to create these filesystems. How to convert from one filesystem type to another. Ext2 Ext2 stands…