grep

grep is a powerful command-line tool used for searching and pattern matching within text files. Server administrators commonly use grep for log analysis, text extraction, and searching for specific patterns in files. Here’s a tutorial on using grep for server administrators: 1. Introduction to Grep grep is a command-line tool that searches text using patterns. Server administrators often use grep to find specific lines or patterns within log files or other text documents....

6 min · 1151 words · Me

Memory Management

In this lesson you will learn following memory management commands free - To check RAM status proc/meminfo - Detailed RAM status top - Process Management htop - Advanced Process Management df - Disk Free Space Details du - Disk Consumption Details vmstat - Virtual Memory Statistics demidecode - Systems Hardware Information sar - System Activity **Report pagesize - Virtual Page size information free command Free command is used to find out how much RAM is free and how much is used....

10 min · 2106 words · Me

Package Management

Package Management Introduction On any Linux platform we need a good packagement manager. Using Graphical Interface we can install, remove softwares. There are many command line package managers, based on the linux distributions you may have any of the following package manager. dpkg - Debian Package Manager for debian system. Using dpkg you can install, remove, store and get information about .deb packages. apt - Advance packageing Tool using on Ubuntu and its derivatives like Link Mint etc aptitude - Used on Debian, you need to install it additionally and use it Synaptic Package Manager - Can be installed additionally and used its graphical package manager DNF – Dandified Yum Used on rpm based system, modern package manager on fedora and red hat based system....

2 min · 267 words · Me

perl

Perl is a versatile scripting language commonly used by server administrators for various text-processing, data manipulation, and system administration tasks. Perl Basics 1. Introduction to Perl Perl is a powerful scripting language known for its text-processing capabilities. Server administrators often use Perl for log analysis, system automation, and data extraction. 2. Running Perl Scripts To run a Perl script, you typically use the perl interpreter: 1 perl my_script.pl Practical Perl Examples 3....

3 min · 433 words · Me

Piping and Redirection in Unix

Redirection in Linux using <,> and » In Linux there are three data streams from which we get and send data, they are Standard input which is keyboard (STDIN) Standard output which is display (STDOUT) Standard Error which is displayed on STDOUT only We can use redirection operators to redirect standard output to files. Similary we can also change the standard input to file so the input will be take from the files...

4 min · 732 words · Me

Process Management

Introduction to Process Management Processes on computer systems are nothing but the applications or programs which are running. In this lesson we will learn how to see those processes, manage processes i.e kill, change priorities etc Lets start with the ps command ps ps gives you the information of all the current processes running in the system lets see some of the examples 1 2 3 4 dbit@Tayyabali:~$ ps PID TTY TIME CMD 29600 pts/1 00:00:00 bash 29609 pts/1 00:00:00 ps As you can see it displays Process ID (PID), Terminal (TTY) from which its running and time(TIME) since process has been running CMD is nothing but command which started this process....

8 min · 1570 words · Me

Sed (Stream Editor)

Sed (Stream Editor) is another powerful text-processing tool often used by server administrators to manipulate and transform text data in Linux and Unix environments. 1. Introduction to Sed Sed is a stream editor for filtering and transforming text. Server administrators commonly use it for text substitution, text removal, and text extraction. 2. Basic Sed Command Structure Basic Sed command structure: sed 's/pattern/replacement/flags' file Patterns specify what to search for, replacements define what to change to, and flags provide additional options....

2 min · 333 words · Me

Shell Arithmatic Operations

Shell Arithmatic Operations Coming soon

1 min · 5 words · Me

Shell File Operations

Shell File Operations Coming soon

1 min · 5 words · Me

Shell Introduction

Shell Introduction Coming soon

1 min · 4 words · Me