Understand system processes and basic network troubleshooting in Kali Linux

Business Scenario

You are a Network Security Intern at SkyLink Networks, where you are learning system monitoring and network troubleshooting using Kali Linux. Your task is to analyze running processes, manage system resources, and troubleshoot network connectivity using essential Linux commands. By performing real-time monitoring and diagnostics, you build practical skills required for ethical hacking and system administration.

Pre-Lab Preparation

Topic :Linux Commands

1)Basic Linux commands (ls, cd, pwd, mkdir, rm, cp, mv)

2) File permissions and ownership

Task 1: Monitoring and controlling system processes in Linux

Analyzing network connectivity and interfaces using Linux networking commands

View Running Processes using ps

1

a

 Steps:

  • Open Terminal

  • Type:

ps

b

 Output Understanding:

  • PID → Process ID

  • TTY → Terminal

  • TIME → CPU time used

  • CMD → Command name

Detailed Process View

2

a

 Steps:

  • Type:

ps aux

Detailed Process View

2

a

 Steps:

  • Type:

ps aux

b

Observe:

a

 Steps:

  • USER → Owner of process

  • %CPU → CPU usage

  • %MEM → Memory usage

  • COMMAND → Process name

 Real-Time Process Monitoring

3

a

top

a

Run this command

 Search Specific Processes

4

ps aux | grep bash
ps aux | grep ssh
ps aux | grep mousepad

a

Goal:

Find specific running processes.

Steps: Run Below Command

Run Process in Background

5

sleep 500 &

a

Steps: Run Below Command

Find Background Process

6

a

 ps aux | grep sleep

Steps: Run Below Command

 Kill Process

7

kill <PID>
kill -9 <PID>

 Job Control

8

a

nano &

Run editor

Goal:

Terminate processes

 Goal:

Manage running/suspended jobs

Output:

  • suspended jobs

  • running jobs

Test Network Connectivity

9

Goal:

Check internet connection

10

ping google.com

now you have to use the ping command in the terminal

a

now to stop the process you have to use "ctrl Z"

b

Limited Ping

now you have to limit a ping when use to do that use the following command  

a

11

ping -c 4 google.com

Observe:

  • Packets sent/received

  • Time delay (ms)

Test Localhost

now you have to ping the localhost for Check local system networking

a

12

ping 127.0.0.1

View Network Connections

Goal:

Check active connections

To check the active connection between network we use the following command in the terminal

a

netstat -a

13

netstat -l

View Listening Ports Only

Run Command

a

14

netstat -n

to display active network connections and listening ports in numeric form.

Run Command

a

15

ip a

Check Network Interfaces (Modern)

Run Command

a

Goal: View IP address and interface details

Observe:

  • lo → Loopback

  • eth0 → Network interface

  • IP Address (e.g., 192.168.x.x)

16

 ifconfig

Check Network Interfaces (Legacy)

Run Command

a

b

Compare with ip a

17

ip route

Check Routing Table

Run Command

a

Goal:

Understand network gateway & routing

 Observe:

  • Default gateway (e.g., 192.168.0.1)

  • Interface (eth0)

  • Your IP address

18

whois google.com

Domain Information Gathering

Run Command

a

Goal:

Perform basic reconnaissance

19

dig google.com

DNS Query Analysis

Run Command

a

Goal: Resolve domain to IP

Observe:

  • ANSWER SECTION → IP address

  • Query time

  • DNS server used

20

ss

Active Connections Check

Run Command

a

 Goal: Monitor sockets

 Observe:

  • Active connections

  • Ports

  • States (ESTAB)

Task 1: Other System Basic Command Which Use By Ethical Hacker

Install Network Tool

1

Goal: Learn package installation

apt install mtr

Run Command

a

Network Path Analysis

2

 Goal: Trace packet route

Run Command

a

 mtr google.com

Observe:

  • Hops (routers)

  • Packet loss %

  • Latency

This combines:

  • ping + traceroute

b

Disk Usage by Directory

3

Goal: Analyze storage usage

du

Run Command

a

Disk Space Overview

4

df

Run Command

a

Observe:

  • Total disk

  • Used %

Memory Usage

5

free

Run Command

a

 Observe:

  • RAM usage

Locate Commands

6

whereis nmap
whereis SET

Run Command

a

Observe:

  • Binary location

  • Manual pages

Date & Time

7

date

Run Command

a

Col 1

Col 2

Col 3

Row 1

Row 2

Row 3

Formula

Profit = Revenue - Cost

Task 2: Create WireFrame

Now that you understand the requirements, don’t jump into coding yet. Before development, we always visualize the layout.

Now lets  create a simple wireframe for the homepage.

A wireframe is like a layout plan of a house. Before building, you decide where rooms, doors, and windows will be placed.Similarly, a wireframe helps you plan where elements like headers, images, and buttons will appear on a webpage—before adding design or colours.

Task 3: Code Editor Installation

Good work on completing the planning phase.

Now we will start development. Before that, make sure your system is ready with the required tools.

In this step we will install the VS code editor that will help to Write code efficiently,Organize files , Run and test your application

Go to the visual studio code official website  

1

Click to download Homepage Wireframe : Homepage Wireframe

Choose your operating system(windows / Mac) and download the installation file.

Double click on the download app and Accept the agreement and click next

2

It is a long established fact that a reader will be distracted

b

Sub Steps

a

 Double click on the download app and Accept the agreement and click next 

public class MathSample {
    public static void main(String[] args) {
        int x = 10;
        int y = 20;
        int sum = x + y;
        
        System.out.println("The sum is: " + sum);
    }
}
public class MathSample {
    public static void main(String[] args) {
        int x = 10;
        int y = 20;
        int sum = x + y;
        
        System.out.println("The sum is: " + sum);
    }
}

public class MathSample {
    public static void main(String[] args) {
        int x = 10;
        int y = 20;
        int sum = x + y;
        
        System.out.println("The sum is: " + sum);
    }
}

 

Great job!
You have successfully completed your first lab on BiteBox Project Onboarding.

In this lab, you have: Understood the BRD, Created a wireframe, Set up your development environment, Organised your project structure, Run your first program

You are now ready to move to the next stage of development

Checkpoint

Next-Lab Preparation

   Git Push

git push origin branchName

Topic : Working with a Text and Listin HTML

1) Power of HTML text tags
2) Customizing your style with CSS
3) Listing it right using HTML
4) HTML Link up , attributes of tag, block vs inline elements

Text box Width : 887
Business Scenario, Pre-lab Preparation, Next-lab Preparation, Task, Activity, Checkpoint : 90%.
Steps : 1,2,3 [Sub Steps - a,b,c]
Normal Text, Topic Name : 80%
Subtopic : 70%
Code Box font Size : 16px

Copy of Copy of Copy of Copy of Vertical infinite scroll OG - Template

By Content ITV

Copy of Copy of Copy of Copy of Vertical infinite scroll OG - Template

  • 4