How to resolve mlocate command not working issue on CentOS 7 or RHEL 7 ?
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...
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...
An article by Piyush Goyal. Lines which always motivate Dr. Piyush Goel. मैथिलीशरण गुप्त नर न निराश करो मन को नर न निराश करो मन को कुछ काम करो, कुछ...
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...
The default field separator in awk programming language is whitespace(\s). We can change the field separator based on our requirements. 1. Working of default AWK field separator i.e. whitespace. ##...
If you are getting below error message while running dd command. dd: `/dev/sda1′: cannot skip: Invalid argument Like Below: [root@nglinux ~]# dd if=/dev/sda1 of=/tmp/file4 bs=4096 count=1 skip=29661151 dd: `/dev/sda1': cannot...