Friday 20 October 2017

How to check whether port is listening or not



If you’re troubleshooting a service that you know is running normally the next step is to ensure its listening on the correct network port.

How to check port is open on remote server



You can check if a port is open in your network by issuing the telnet command. If it is open, you will see a blank screen or connected after issuing the command:

Thursday 5 October 2017

How to Compress an Entire Directory or a Single File in Linux



Compress an entire directory or a single file on Linux. It will also compress every other directory inside a directory recursively.

How to Extract Tar Files to Specific or Different Directory in Linux



Extract a tar archive to a different directory using tar command on a Linux. We can do this using the following command where we want to the files to reside.