how to unzip or extract 7z file in Linux
how to unzip or extract 7z file in Linux? Explain it with an example. In this blog we will learn 7z archive extraction from Linux terminal with step by...
How to write function in shell script (Unix or Linux)
In this blog we will learn How to write function in shell script. Functions in any language or script is a subroutine. Writing functions in shell script means is...
How to Read File word by word using bash shell script
In this blog we are going to study How to read file word by word using bash shell script in Linux or Unix based system. This program may be...
how to search and replace string in vi editor
This blog post describes how to search and replace string in vi editor. vi or vim is a power full text editor comes with Linux/Unix based operating system. Suppose...
how to read bash shell command output in c program
how to read bash shell command output in c program. In this tutorial we will learn about Linux popen system call. popen system call can be used to read...
how to check if Ethernet cable is connected Linux
how to check if Ethernet cable is connected Linux. write a C program to detect whether the Ethernet cable is plugged or unplugged. Let us first learn how to...
using shift and positional parameters in Linux
using shift and positional parameters in Linux is important step. shift is a built in shell command. It takes a number as input. For example if the command is...
shell script to list files in a directory recursively
How to write a shell script to list files in a directory recursively. Linux shell scripts are group of commands. Usually we print list of files and directory in...
Some important Linux commands for developers
This is a tutorial about some important Linux commands for developers. Every Linux distribution like Ubuntu, Fedora, RedHat, CentOs etc. comes with shell commands. Knowing some of important Linux...
How to get number of processors in Linux
In this blog post we will know How to get number of processors in Linux. Here number of processors means number of available cpu cores. Every Linux distribution comes...