How to find number of proesses running on Linux system currently ?
Suppose you want to know how much processes currently running on the system. So there are many ways by which we can find the number of running processes on the...
In this category, you can see all articles related to Unix or Linux operating System.
Suppose you want to know how much processes currently running on the system. So there are many ways by which we can find the number of running processes on the...
In this article we will see how to print a particular line from a file in Linux using awk command. Many of the times, we need to grep a particular...
In this post, we will check a quick tip how to escape all double or single quotes in a file in Linux. The post is very useful sometimes when we...
This is a common issue faced by one of my colleague and i prefer to share the solution here. I found the problem faced by some of our team member...
In this post, we will look at a quick tip, how to add some string in the end of each line in Linux. To achieve this task, there may be...
Today we will look how to count number of characters in a file in bash shell on Linux. We need to count number of characters sometimes when we associate C...
Today in this post, we will look how to do string or array slicing in bash shell linux by breaking the complete array/string into parts. We have seen one example...
As the name of post suggests, in this article we will check how to slice a string to sub strings. To understand this, lets take an example:- Printing every 2nd...
In this quick tip, we will check how to list only directories on some path say /root. By default, ls command displays all files and directories. Suppose we want to...
We all know ls command to list contents of a particular directory. In this quick tip, we will look how to list directories first when listing directory contents. 1. Default...