How to do it...

In this section, we will see how we can manually configure the network settings using the command line:

  1. Before starting with the manual configuration, first, let's check our current IP address, which has been assigned to the system automatically by DHCP. We can check the details graphically by right-clicking on the networking icon on the top-right panel and then selecting Connection Information, as shown in the following screenshot:

We can see that the current IP address of our system is 192.168.1.101.

  1. Next, we check the same information using the command line by typing in the ifconfig command:
  1. If we want to just check ...

Get Practical Linux Security Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.