Tagged: linux commands

cloning disks

Cloning Disks using dd & cat commands for Linux systems

It always wise for a System Administrator to be prepared for the worst situation & having a backup/clones of servers, when such a day arrives will certainly make your job & life easy. Though...

regex basics

Bash Scripting: Learn to use REGEX (Basics)

Regular expressions or regex or regexp are basically strings of character that define a search pattern, they can be used for performing ‘Search’ or ‘Search & Replace’ operations as well as can be used...

grep command with examples

Learning GREP command with examples

Grep is a very important & powerful Linux commands. It stands for ‘Global Regular Expression Print’ & is used for matching & printing a search pattern or a regular expression from a single or...

bash tips tricks

Important BASH tips tricks for Beginners

Hello Linux-Fanatics, this post is dedicated to those users who are just getting started with their Linux Journey. I am sharing some Bash tips tricks which will make you more familiar with BASH &...

date & time

Playing with Date & Time in RHEL/CentOS

In this tutorial, we are going to discuss how we can view or modify date & time values in our RHEL/CentOS 7 servers. We are going to discuss 3 commands which we can use...

netstat with examples

NETSTAT Command: Learn to use netstat with examples

Netstat is a command line utility that tells us about all the tcp/udp/unix socket connections on our system. It provides list of all connections that are currently established or are in waiting state. This...

grep command with examples

Learn to use GREP command with examples

Grep is a very important & powerful Linux commands. It stands for ‘Global Regular Expression Print’ & is used for matching & printing a search pattern or a regular expression from a single or...

secure grub

How to secure Grub in Centos/RHEL 5/6/7 & 7.2

Hello Linux-fanatics, in this tutorial we will learn to secure Grub. GRUB or Grand Unified Bootloader, is the default boot-loader for most of the Linux distributions. It provides a user the choice to boot one of...

installing VLC

Installing VLC & running it as root on CentOS/RHEL

Hello Linux-fanatics, every now & then we must have used our RHEL/CentOS machines to play some Videos. Some of the video formats work out of the box in the default video player, called “VIDEOS”...

change hostname

5 ways to add or change hostname in RHEL/CentOS 7

Hostname for a system is like an identity for that system, it not only makes system management easy but we can also use hostname to access a system over LAN. In this tutorial, we...

functions

13- BASH Scripting – Creating FUNCTIONS in script

In our last tutorial, we discussed about advanced uses of I/O redirection & we will now learn to create functions for our scripts. Learning how to create a function is an important skill required...

I/O Redirection

12- BASH Scripting – I/O Redirection

Hello Linux-fanatics, in our previous tutorials we have discussed how we can redirect output of a script to a file or use a file as input in our scripts. We will now discuss I/O...

While loop & until loop

10-Bash Scripting – While loop & Until loop commands

Hello Linux-fanatics, In our last tutorial we learned to use READ command to take user’s Input & also learned to redirect output of a script to a file. In this tutorial we will be...

break command continue command

11- BASH Scripting – Break command & Continue command (Controlling the loops)

Hello Linux-fanatics, In our last tutorial we learned to use while & until loops in our scripts & now in this tutorial we will discuss to control our loops by using break & continue...

read command

9- Bash Scripting- Taking user’s Input using Read command

Hello Linux-fanatics. In our last tutorial we discussed for conditional statement, & now we will discuss how we can take user’s input as value for our variables by using READ command & how we...

for conditional statement

8- BASH Scripting – FOR Conditional Statement

Hello, Linux-fanatics, in our earlier tutorial we discussed advanced used of if-then-else conditional statements. In this tutorial, we will discuss for-conditional statement. for statement is used where we require a set of commands to...