Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 950 Bytes

File metadata and controls

33 lines (24 loc) · 950 Bytes

🧰 Automated System Inventory Script (Bash)

This project contains a Bash script that automates the collection of essential system information in Linux environments and saves it to a structured CSV file for reporting and auditing.

📌 Features

  • ✅ Collects key system information:

    • CPU Model
    • Total RAM
    • Disk Usage (Root Partition)
    • OS Version
    • System Serial Number
    • Hostname & Timestamp
  • 📝 Exports data to system_inventory.csv

  • 🧠 Automatically creates headers if the file doesn’t exist

  • ⚡ Lightweight and easily portable — no external dependencies


🧠 Technologies Used

  • Bash Scripting
  • Linux Command-line Utilities: lscpu, free, df, dmidecode, grep, awk, cut
  • CSV File Handling

🧪 Usage

  1. Clone this repository
    git clone https://github.com/Kartik-IN/system-inventory-script.git
    cd system-inventory-script