Recent Articles

Linux Umask : Permission Set When New File / Folder Created

UMASK in Linux is actually known as User Mask or it is also called User File creation MASK. This is a kind of base permission or default permission given when new file or folder is created in Linux box. Most of the distribution of Linux gives 022 as default UMASK. We can say, it is […]

April 15, 2013 | By
| Reply More

5 Ways To Find Linux Kernel Version

As we all know that GNU/Linux and other operating systems have kernel. It is called a heart of any Operating System. In this article, we are going to have a look at some of the commands and their options to find out the correct version number of the kernel we are using. Sometimes, it is […]

April 11, 2013 | By
| Reply More

Simple Video Player For Linux System

Nowadays, if we want install a video player on our Linux machine, we often search the video software package that compatible with our system and run a command or simply do a double click to start set up process with GUI. For example, we know that the Ubuntu support the user about install software with […]

April 9, 2013 | By
| Reply More

Shell Script : Interactive Way To Create Mysql User And Grant Access

Shell script help user to create user in mysql database, when user don't know about mysql, but need quickly add new user. Script should run only from user that have passwordless access to mysql. Shell Script #!/bin/bash #Ask user to enter database name and save input to dbname variable read -p "Please Enter Database Name:" […]

April 7, 2013 | By
| 2 Replies More

Shell Script : Find Files Older X Days And Ask User To Delete

Script that find files older X days and ask user to delete them. Useful for administrator, if needed quickly find old files and delete required files. Script will interactively ask user before deleting the older files. Shell Script #!/bin/bash #we check for parameters #Directory is requirede parameter, to avoid deleting from any other folders if […]

April 5, 2013 | By
| Reply More

How To Tar Linux Files Into .tgz Compressed Extension

The program tar (originally for tape archive) is useful for archiving and transmitting files. For example, you may want to 'tar up' all your work and save it to your own computer's disk drive so you don't run into quota problems. You might also want to submit an entire directory at once rather than the […]

April 3, 2013 | By
| Reply More

How To Install Zimbra On CentOS Linux

VMware Zimbra is a complete email, address book, calendar and tasks solution that can be accessed from the Zimbra Web Client, Zimbra Desktop offline client, Outlook and a variety of other standards-based email clients and mobile devices. It can be deployed as a traditional binary install on Linux, or as a software virtual appliance, commonly […]

April 1, 2013 | By
| 2 Replies More

Configure Samba As A Print Server On CentOS 6.3

Samba is a free software re-implementation of the SMB/CIFS networking protocol, provides file and print services for various Microsoft Windows clients and can integrate with a Windows Server domain. In the end of this tutorial you will be able to install and configure samba to as a print server. Requirements  A computer with CentOS […]

March 30, 2013 | By
| 2 Replies More

Integrate Samba With Microsoft Active Directory On CentOS 6.3

Samba is a free software re-implementation of the SMB/CIFS networking protocol provides file and print services for various Microsoft Windows clients and can integrate with a Windows Server domain. In the end of this tutorial you will be able to integrate samba with Microsoft Active Directory. Requirements  A computer with CentOS 6.3 installed on […]

March 28, 2013 | By
| Reply More

Linux Shell Script To Monitor Ftp Server Connection

Main goal of this script is to monitor ftp server. This script is example of how to use ftp command in bash shell. System administrator can use this script to check if ftp server alive and upload there any data/backups. Everytime script create new file, every time with with different md5 sum, after script upload […]

March 26, 2013 | By
| Reply More

Interactive Linux Shell Script To Create New Linux User

Script helps to remember all main points during creating user and quickly create new user. If admin need to create 100 users at once this script could be helpful. Script use command useradd with keys and groupadd. Shell Script #!/bin/bash while [ x$username = "x" ]; do read -p "Please enter the username you wish […]

March 24, 2013 | By
| 2 Replies More

Linux Screenshot Tool - Shutter Opensource Project

Taking screenshots in Linux is as easy as pressing the "print screen" key on the keyboard. But how about taking a screenshot of a specific area such as a window, or more specifically a menu? A lot of careful cropping might be needed for the same. But with shutter, you don't have to worry much […]

March 22, 2013 | By
| Reply More

Shell Script : Find All Zip / Rar Files Then Unzip / Unrar

Script that find all rar files in all sub-directories and unrar them to same destination. Shell script will shows how to find all rar files and assign to a variable. Commands are run on each file on the list. Shell Script #!/bin/bash list=`find /home/linoxide/ -type f -name "*.rar"` for line in $list; do DEST=${line%/*} unrar […]

March 20, 2013 | By
| 1 Reply More

Linux Word Count wc Command With Example

The wc command (as defined in the man page) print newline, word, and byte counts for each file, and a total line if more than one file is specified. Wc is widely used in bash shell scripting. Shell scripting is itself a different topic and is out of scope. Shell scripting is used to automate […]

March 18, 2013 | By
| Reply More