Basic File Permissions

Understanding file permissions is key to running a web server. Permissions control which users can read a file, make changes to a file, or execute a file/script/etc.   File permissions on a Linux server are always listed in a series Read More …

How do I set up Setuid, Setgid, and Sticky Bits on Linux

What Are Linux File Permissions? Setuid, Setgid and Sticky Bits are special types of Unix/Linux file permission sets that permit certain users to run specific programs with elevated privileges. Ultimately the permissions that are set on a file determine what Read More …

What are Inodes in Linux

As you are probably already aware, everything is considered to be a file in Linux. That includes hardware devices, processes, directories, regular files, sockets, links, and so on. Generally, the file system is divided into data blocks and inodes. With that Read More …

Linux Commands Cheat Sheet

In this page, you will find Basic Linux Commands. As you all knows, Linux is widely using in many areas now a days. Generally System Administrators and Linux end users will use this commands a lot in their day to Read More …

How to Execute Linux Commands on Remote System over SSH

Overview Many times we need to work with remote Linux systems. We login to the remote host, perform work and exit that session. Can we perform all these actions from local machine ? Yes, it’s possible and this tutorial demonstrates Read More …

Vim Editor Basics

This tutorial is going to speak about vim basic use and covers also the editor vi. Vim is a powerful text editor used in CLI (command line interface). Linux uses a lot of configuration files, you’ll often need to edit Read More …

Echo Command in Linux with Examples

The echo command is one of the most basic and frequently used commands in Linux. The arguments passed to echo are printed to the standard output. echo is commonly used in shell scripts to display a message or output the Read More …

Bash: Append to File

In Bash, there are multiple ways to append text to a file. This article explains some of them. To append text to a file, you need to have write permissions to it. Otherwise, you will receive a permission denied error. Read More …

Cat Command in Linux

The cat command is one of the most widely used commands in Linux. The name of the cat command comes from its functionality to concatenate files. It can read and concatenate files, writing their contents to the standard output. If Read More …

Df Command in Linux (Check Disk Space)

How much space do I have left on my hard drive? Is there enough free disk space to download a large file or install a new application? On Linux and Unix operating systems, you can use the df command to Read More …