Analyze Script Collection (anscrico) 📊🔍
A collection of useful analysis scripts for Linux systems. These scripts help you inspect your system (e.g., check SSH key encryption, find duplicate files, list kernel version, search for big files, list Java versions, etc.) and perform various file system operations with ease.
🚀 Overview
This repository (alias anscrico) contains a variety of shell scripts designed to analyze and manage aspects of your Linux environment. Whether you need to verify SSH key encryption, inspect the kernel version, locate duplicate files in your home directories, or identify large files, these scripts simplify your workflow.
🔧 Features
- Check Unencrypted SSH Keys: Scan your
.ssh
folder for SSH private keys without a passphrase. - Display Linux Kernel Version: Quickly check your current Linux kernel version.
- Find Duplicate Files: Locate duplicated files in common directories such as Documents, Downloads, Images, and more.
- Identify Unauthorized Files: Search for files in your home directory that are not owned by you.
- Find Big Files: Locate files larger than 100MB in your home directory.
- List Java Versions: Display all installed Java versions (using Arch Linux’s
archlinux-java
).
🛠 Installation & Usage
Requirements
- Bash (should be available on most Linux distributions)
- Common Unix tools:
find
,fdupes
,ssh-keygen
,ssh-copy-id
, etc.
How to Use
Simply clone the repository and run the scripts as needed. For example:
-
Clone the Repository:
git clone https://github.com/kevinveenbirkenbach/analyze-script-collection.git cd analyze-script-collection
-
Run a Script:
-
To check for unencrypted SSH keys:
./scripts/not_encrypted_ssh_keys.sh
-
To display the Linux kernel version:
./scripts/linux_kernel.sh
-
To find duplicate files in your home directories:
./scripts/file_duplicates.sh
-
To list files not owned by you:
./scripts/false_chown.sh
-
To search for files larger than 100MB:
./scripts/big_files.sh
-
To show installed Java versions:
./scripts/java_versions.sh
-
📥 Installation via Package Manager
You can install anscrico easily using Kevin's Package Manager. Once you have the package manager set up, run:
pkgmgr install anscrico
This will install the analysis script collection under the alias anscrico.
👨💻 Author
Kevin Veen-Birkenbach
📜 License
This project is licensed under the GNU Affero General Public License v3.0. See the LICENSE file for full details.
Happy analyzing! 🚀📊