Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Bash Network Information Collector

A Bash script for collecting network and system information from a Linux system and generating a text report.

Overview

This script collects useful information about the system's network configuration, hardware, routing, DNS, firewall, kernel modules, and network settings.

The collected information is saved in a timestamped .txt file.

The script is mainly intended for:

  • Linux network diagnostics
  • System administration
  • Network troubleshooting
  • Bash scripting practice
  • Collecting system information for technical support

Requirements

The script is designed for modern Linux distributions such as Pop!_OS and Ubuntu.

The script uses common Linux commands:

  • ip - Network interfaces and routing
  • ss - Network connections and statistics
  • nft - Firewall rules
  • lspci - PCI hardware information
  • lsb_release - Linux distribution information
  • hostname - System hostname
  • uname - Kernel information
  • cat - Read configuration files
  • date - Generate the report date

Root privileges are required because some network and firewall information can only be accessed by the root user.

Usage

Give the script execution permission:

chmod +x network_info.sh

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages