Category: Commands
-
Block Outgoing Traffic to Private Networks
Introduction Recently I got an email from the network department of my provider, letting me know that they had indications that one of my servers was performing netscans on private networks. Certainly I had not initiated any netscan manually. Moreover I don’t have lots of things installed on my server, only a few docker containers.…
-
Mastering Unix Swap: A Guide with shell commands
1. Introduction In this tutorial, we’ll introduce the Unix swap space, its advantages, and a few simple commands to manage it. 2. The Unix Swap Space Swap or paging space is basically a portion of the hard disk that the operating system can use as an extension of the available RAM. This space can be…
-
Opening a Port on Linux
To open a port and configure it for TCP connections on a Linux system, follow these steps: Begin by selecting a port to open; for this tutorial, we’ll use port 4000. If this port is already in use, feel free to select another closed port. Ensure that the chosen port is greater than 1023. To…