How to add a different username in ssh config for remote server ssh to save our time ?
Suppose you used to login via a different username on servers rather than the local user id. One option is to add the username each time using below syntax: #...
In this category, you can see all articles related to Unix or Linux operating System.
1. Introduction to Screen Sometimes when we take remote console session and want to have multiple terminal sessions, however the login process is quite long. Then we can use this...
Here we will look how to get active connections on a particular port in Linux. The active connections have a state “ESTABLISHED” when we look at the netstat output. We...
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:...