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...
Today we will look how to get the service name listening to a particular port on Linux. The preferred and widely used command is netstat. With netstat, we can grep...
In this post, we will look at an interesting tip to keep two directories in sync with each other. It helps us to take backup of a directory and perform...
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...
Let us have a look how to view IPv6 addresses in Linux. For this, we can use the same “ifconfig” command. 1. Viewing IPv6 Address [root@ngelinux ]# ifconfig -a enp0s3:...
#! is known as shebang sequence. It marks the start of every script in linux. It tells the system what interpreter to use when executing the particular code written in...