There are roughly the following types of inter-process communication under Linux: socketPipes (including anonymous pipes for parent and child processes, named pipes)SemaphoreShared memoryMessage queue socket Socket can be used for local inter...
free utility shows the amount of free / used memory. free The biggest misinterpretations that I’ve seen on both Windows and Linux systems are with the swap and cached memory. Cached memory is exactly what it sounds: memory dedicated for...
The following script will go through all your cPanel users and their domains, and print on the terminal a list of all current email accounts. cat /etc/userdomains | sed "s/://g" | awk {'system("ls -1d /home/"$2"/mail/"$1"/* 2> /dev/null")'} | sed...
Every time you update yum it leaves package cache files on the server.
You can use the following commands to clean up yum files:
yum clean all
Simple Answer: You will never use a index this way. Lets look at the following examples: EXPLAIN SELECT * FROM `wp_posts`; +—-+————-+———...
lslists files and foldersls -lrtlists files and folders in datel orderls -lalist hidden files and folders and visiblecd /foldercd means to change folder where folder is a valid foldercd /changes you back to the root pathcd ..changes folders back one...
ORM Package for Node.js. Works with MySQL, PostgreSQL and SQLite. var orm = require('orm'); orm.connect("mysql://username:password@host/database", function (err, db) { if (err) throw err; var Person = db.define('person', { name : String, surname :...
The SELECT statement is used to select or fetch data from a your MySQL Database. It’s the most common type of query issued to a database. There are many ways to query a database, but were going to focus on the SELECT statement...