How to find filesystem block size in linux or Unix ?
Today we will look how to find a filesystem blocksize in Linux or Unix Operating System. There are many ways, however the preferred ways are quoted below. 1. Use blockdev...
Today we will look how to find a filesystem blocksize in Linux or Unix Operating System. There are many ways, however the preferred ways are quoted below. 1. Use blockdev...
Here we will see a trick to save the command output to one or more files alongwith viewing the output on screen. This commandis very ueful for logging and at...
In this article, we will look different ways or tricks to count number of files inside a directory in linux. I. Get files inside /tmp Using “wc -l” command on...
In this post, we will check how to automate entering of multiple y’s to a shell command or script. This tip is very useful to sometimes automate few install scripts/commands....
In this post, we will look at an interesting topic how to refer the last command in bash shell. Sudo last command quickly ### Run the command [nglinux@nglinux ~]$...
In this post, we will look at the tips of using docker to get images and creating & working with containers. 1. Pull an image: $ docker pull centos Using...
In this post, we will look various ways how to view priority of a linux process and how to change it. 1. Viewing Priority of Linux process a. Using Top...
Do you know how to group multiple commands together and redirect their output collectively to a file ? It is a very small tip, however many of us dont know...
Today we will check how to create a custom user command in Linux easily. Lets see the procedure step by step. The easiest way is to create a function and...
Here we will look at one of the interesting feature of Linux to read the source program from a binary file. This is one of the most useful tip that...