Relative Content

RHCE 7 Study Guide

How to set Immutable Sticky bit with Chattr command

This tutorial explains Chattr command append (a) and immutable (i) attributes in detail with arguments and operation (read, copy, append, move, hard link & soft link). Learn how to delete a file secured with i attribute, remove a attribute, set/unset/list a and i attribute step by step with practical examples. Since Linux is a multiuser networking operating system where several users access files or directories simultaneously, there is always a chance of deleting critical files or directories Read more […]

How to change Default Umask Permission in Linux

This tutorial explains how Umask permissions, settings and values are defined through (login shell & non-login) in detail. Learn how to change default umask settings (777, 755, 644, 0222, etc.) globally (for all users), locally (for individual user) temporarily and permanently step by step with examples. When we create a new file or directory, shell automatically assigns the default permission to it. Default permission is the subtraction of umask permission and pre-defined initial permission. Default Read more […]

How to use Chmod command in Linux Explained with Examples

This tutorial explains chmod command symbolic notation (r, w, x, a) and octal notation (0, 1, 2, 4) in detail with chmod command arguments and options. Learn how chmod command is used to manage Linux permission levels (user, group and other) and types (read, write and execute) step by step with practical examples. Permission levels and types Each file and directory has three permission levels (user, group and other) and three types of permission (read, write and execute) in each level. These Read more […]

How to Configure Squid Server in Linux

This tutorial explains how to configure Squid Proxy server in Linux step by step with practical example. Learn how to use Squid proxy server to allow or deny hosts to access the internet, control what users can access from internet and cache already viewed contents for faster internet access speed in detail. Proxy servers operate as an intermediary between a local network and Internet. Requests from local clients for web services can be handled by the proxy server. Squid is a high-performance Read more […]

Linux File Permission Explained in Easy Language

This tutorial explains Linux permission levels (owner, group & other) and permission types (read, write & execute) in detail with examples including how to change the ownership of file and directory (with chown and chgrop command) and read the applied permissions on an object from output of ls –l command step by step. Basic concepts of Linux file permission Just like other operating system, Linux also protects resources with a set of permissions. These permissions define how a user Read more […]

How to configure DNS Server in Linux

This tutorial explains how to configure DNS server in RedHat Linux step by step with practical example. Learn how to configure DNS Server (Master, Slave, Caching-only and Forwarding-only), DNS Zone (Forward and Reverse), DNS lookup, Chroot DNS environment and DNS clients in detail. A DNS server, or name server, is used to resolve an IP address to a hostname or vice versa. You can set up four different types of DNS servers: A master DNS server for your domain(s), which stores authoritative Read more […]

How to manage disk quota in Linux step by step

This tutorial explains how to configure disk quota in Linux step by step with practical examples. Learn basic concepts of disk quota (Soft limit, Hard limit, Grace period, Block Size and Inode Number) and Linux disk quota management commands (quotacheck, edquota, quota, repquota, quotaoff and quotaon) in detail. Basic concepts of disk quota If you are the only person who uses the disk, there is no need to implement quota at all. But if there are multiple users who use the same disk, quotas Read more […]

How to Configure Printer Server in Linux

This tutorial explains how to configure Printer Server in Linux step by step with practical examples. Learn how to install, configure, share, test and use printer in Linux including a basic overview of CUPS (Common UNIX Printing System) and IPP (Internet Printing Protocol) in detail. Linux uses the Common UNIX Printing System, also known as CUPS. CUPS uses the Internet Printing Protocol (IPP) to allow local printing and print sharing. The /etc/cups/ directory stores all the configuration Read more […]

How to Configure RAID in Linux Step by Step Guide

This tutorial explains how to view, list, create, add, remove, delete, resize, format, mount and configure RAID Levels (0, 1 and 5) in Linux step by step with practical examples. Learn basic concepts of software RAID (Chunk, Mirroring, Striping and Parity) and essential RAID device management commands in detail. RAID stands for Redundant Array of Independent Disks. There are two types of RAID; Hardware RAID and Software RAID. Hardware RAID Hardware RAID is a physical storage device which is Read more […]

Learn How to Configure LVM in Linux step by step

This tutorial explains how to view, list, create, add, remove, format, mount, resize and delete Physical Volume, Volume Group and Logical Volumes in Linux step by step with practical examples. Learn fundamental and basic concepts of LVM, LVM management and essential LVM commands in detail. Basic concepts of LVM LVM stands for Logical Volume Manager. LVM is the modern way to manage the storage devices. Traditionally a hard disk is partitioned as per requirement and each partition is formatted Read more […]

How to Configure VNC Server in Linux

This tutorial explains how to configure VNC Server and VNC client in Linux step by step with examples. VNC Server and Client are used to share and access desktop from remote system for troubleshooting. Learn how to share Desktop through VNC Server and access shared Desktop from VNC Client in detail. VNC server is a used to share desktop with remote computer. VNC works on client server architecture. To share desktop you need vnc-server package and to access from other computers you need vnc-viewer. Read more […]

Tar command and Syntax Explained with Examples

This tutorial explains the basic usages of tar command in Linux with practical examples. Learn how to create an archive file, list the contents of tarball and extract the archived file in current directory or in specified directory. The tar command is used to manage the archives. An archive is the collection of multiple files that can be transferred as a single file or can be stored as a backup copy. An archive file, created with tar command, is also known as a tarball. The tar command syntax To Read more […]

How to create swap partition in Linux

This tutorial explains how to view, list, activate, deactivate, add, remove, increase, decrease mount and format swap space and swap partition in Linux step by step with practical examples. Learn essential swap space management tasks including what swap space is and how swap space is used in Linux. What is the swap space? Traditionally Linux was developed for server system. Server systems are built to process several processes simultaneously. Sometime some process may use more than expected Read more […]

Linux alias List, Set, Create & Remove with alias Command

This tutorial explains linux alias command with syntax and options in details including how to list, set, add, remove, create and delete alias in Linux temporary and permanently step by step with practical examples. Learn how to customize the Linux environment with local and global alias in detail. How to check default alias To check default alias run following command $alias Some of the aliases listed are likely to be system-wide aliases that apply to all users and are created automatically Read more […]

Linux Disk Management with parted command

Learn how to create, list, format, mount (temporary and permanent), remove and delete MBR & GPT partitions step by step in detail. This tutorial explains how to manage MBR disk partition (Primary, Extended and Logical) and GPT disk partition in Linux from parted command with practical examples. For this tutorial I assume that you have two separate disks for exercise. If you are using virtual program (such as VMware or Virtual Box) for the practice, I suggest you to add two new virtual Read more […]

Manage Linux Disk Partition with gdisk Command

This tutorial explains how to manage GPT disk partitions and convert MBR disk in GPT disk from gdisk command in detail. Learn how to create, list, format, mount (temporary and permanent), remove and delete GPT partitions in Linux step by step with practical examples. For this tutorial I assume that you have either non-partitioned disk space or have a separate disk for exercise. If you are using virtual program (such as VMware or Virtual Box) for the practice, I suggest you to add a new virtual Read more […]

How to Configure Apache Web Server in Redhat Linux

This tutorial explains how to configure Apache Web Server in Linux step by step with practical examples. Learn how to configure virtual hosts, configure user’s home directory as web root, change document root, deploy a basic CGI application and allow HTTP & HTTPS traffic through Linux firewall and SELinux. Apache is the most popular, secure, robust, reliable and powerful web server. Apache is used by more websites than all other web servers combined. In this tutorial I will use three Read more […]

Manage Linux Disk Partition with fdisk Command

This tutorial explains how to manage MBR disk partition (Primary, Extended and Logical) and GPT disk partition in Linux from fdisk command with practical examples. Learn how to create, list, format, mount (temporary and permanent), remove and delete MBR & GPT partitions step by step in detail. For this tutorial I assume that you have either non-partitioned disk space or have a separate disk for exercise. If you are using virtual program (such as VMware or Virtual Box) for the practice, I Read more […]