Tagged: linux commands

creating swap

Creating SWAP partition using FDISK & FALLOCATE commands

Swap-partition holds the memory which is used in case the physical memory (RAM) is full . When RAM capacity has been utilized to maximum , Linux machine moves inactive pages from memory to swap-space which...

Install MySQL CLI

Install MySQL CLI: mycli with auto-completion

mycli is a command line tool for MySQL, MariaDB as well as Percona & supports the following features, – Auto-completion, & Case sensitive completion, as soon we start typing commands this will come into...

vi editor

Working with VI editor : The Basics

VI editor is a powerful command line based text editor that was originally created for Unix but has since been ported to various Unix & Linux distributions. In Linux there exists another, advanced version...

Linux commands you should never run

Linux commands you should never run on your system

This article refers to some of the Linux commands you should never run on your system as they might prove to be DEADLY for your Linux systems. So before I proceed, I would like...

IP aliasing

IP Aliasing : Assigning multiple IP addresses to single NIC

In this tutorial, we are going to learn to assign multiple IP addresses to a single NIC (Network Interface Card). This process of assigning multiple addresses to a single network interface is called IP...

curl command with examples

Learn to use CURL command with examples

Curl command is used to transfer files to and from a server, it supports a number of protocols like HTTP, HTTPS, FTP, FTPS, IMAP, IMAPS, DICT, FILE, GOPHER, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP,...

useful linux commands

Useful Linux Commands that you should know

If you are Linux system administrator or just a Linux enthusiast/lover, than you love  & use command line aks CLI. Until some years ago majority of Linux work was accomplished using CLI only &...

nc command

NC command (NCAT) for beginners

NC command is for performing maintenance/diagnosis tasks related to network . It can perform operations like read,write or data redirections over the network, similar to how you can use cat command to manipulate files...

SELinux

Beginner’s guide to SELinux

SELinux or Security Enhanced Linux is advanced access control mechanism which was developed by US security agency NSA to prevent malicious intrusions & tempering. It implements MAC (Mandatory Access control) over already present DAC...

crontab examples

Scheduling important jobs with CRONTAB : Crontab Examples

Crontab is very important utility in Linux systems & is used to set up time based job scheduling.  With the help of Crontab or cron, we can execute a command or a script to...

traceroute command in linux

ABC of using Traceroute command in Linux

Traceroute command is well known networking utility using which we can determine the number of hops between source & destination of a network packet. Not only does it show the number of hops, we...

examples of SED command

Let’s discuss some examples of SED command

Sed command or Stream Editor is one of the most utilised utility for Linux systems. It is mainly used for text substitution, find/replace operations & also other text manipulations like search, insertions deletion. We...

compare files in Linux

Simple way to compare files in Linux for differences

There are many GUI tools available to compare files & folders to check for any changes or dissimilarities, but it does not mean that one can’t perform comparison or diff using CLI on a...

ss command examples

Identify network issues :- Learn to use SS command (with examples)

SS command is used to get various network/socket connections related information from a Linux system. Previously we had used netstat command to perform the same operations but it has been long deprecated & was...

screen command with examples

Learn to use Screen command (with examples)

Screen command is a very important command that provides the ability to launch & use multiple shell sessions from a single ssh session.  When a process is started with ‘screen’, we can detach that...

du & df commands

Use of du & df commands (with examples)

In this article I will discuss du & df commands. Both du & df commands are important utilities of Linux system & shows disk usage of Linux filesystem. Here we will share usage of...