Languages / Idiomas: Español (ES) · English (EN)
Utilidad de línea de comandos para Linux con herramientas de sistema: monitorización, backups, limpieza, diagnóstico y escaneo de red.
Funciona como comandos reales (git, docker, systemctl): tras instalar, escribes sysutils en bash o zsh.
Versión actual: 1.0.0 (MVP)
- Linux (Ubuntu, Debian, Fedora, Arch, etc.)
- Bash 4 o superior
- Git (para clonar el repositorio)
- zsh (opcional; sysutils configura ambos shells)
Herramientas opcionales (mejoran algunos comandos):
nmap— escaneo de red más completosensors— temperatura del sistematar,ping,ip— incluidos en la mayoría de distribuciones
Abre una terminal y clona el repositorio en la ruta que prefieras:
cd /home/USUARIO/proyectos
git clone <URL_DEL_REPOSITORIO> sysutils
cd sysutilsSustituye
/home/USUARIOpor tu usuario real (por ejemplo/home/juan).
chmod +x sysutils.sh install.sh uninstall.sh bin/sysutils./sysutils.shNo necesitas sudo para la instalación por defecto.
El asistente te guiará:
- Ubicación: usar la carpeta actual o copiar a
/home/USUARIO/.local/share/sysutils - Configuración: directorio de backups, papelera, caché, días de retención y nivel de log
- Shell: registrará
sysutilsen tu.bashrcy.zshrc
# Si usas bash:
source /home/USUARIO/.bashrc
# Si usas zsh:
source /home/USUARIO/.zshrcO cierra y abre una terminal nueva.
sysutils --version
sysutils doctor
sysutils monitorSi ves la versión y la salida de los comandos, la instalación fue exitosa.
Tras instalar, usa sysutils desde cualquier directorio:
sysutils <comando> [opciones]| Comando | Descripción |
|---|---|
monitor |
CPU, RAM, disco, temperatura, uptime, IP, etc. |
backup |
Crear, listar, restaurar y limpiar backups |
cleanup |
Limpiar temporales, papelera y caché |
doctor |
Verificar herramientas importantes instaladas |
netscan |
Descubrir equipos en la red local |
sysutils monitorMuestra hostname, kernel, IP, uptime, CPU, RAM, disco y temperatura.
# Crear backup del directorio home
sysutils backup create
# Crear backup de una ruta específica
sysutils backup create /home/USUARIO/documentos
# Listar backups
sysutils backup list
# Restaurar un backup
sysutils backup restore backup_2026-07-07_12-00-00.tar.gz
# Eliminar backups antiguos (según AUTO_DELETE_DAYS)
sysutils backup cleansysutils cleanup --temp # temporales antiguos
sysutils cleanup --trash # vaciar papelera
sysutils cleanup --cache # limpiar caché del usuario
sysutils cleanup --all # todas las opciones anterioresSiempre pide confirmación antes de eliminar archivos.
sysutils doctorComprueba: Git, cURL, Wget, SSH, Nmap, GCC, Python y Node.
sysutils netscanSi nmap está instalado, usa escaneo avanzado. Si no, usa ping + tabla ARP.
El archivo de configuración está en:
/home/USUARIO/proyectos/sysutils/config/config.conf
(o en /home/USUARIO/.local/share/sysutils/config/config.conf si elegiste copiar al instalar)
| Variable | Descripción | Valor por defecto |
|---|---|---|
BACKUP_DIR |
Directorio donde se guardan los backups | /home/USUARIO/backups |
LOG_LEVEL |
Nivel de log: DEBUG, INFO, WARN, ERROR | INFO |
AUTO_DELETE_DAYS |
Días antes de eliminar backups antiguos | 30 |
TEMP_DIRS |
Directorios temporales a limpiar | /tmp /var/tmp |
TRASH_DIR |
Ubicación de la papelera | /home/USUARIO/.local/share/Trash |
CACHE_DIRS |
Directorios de caché del usuario | /home/USUARIO/.cache |
Abre el archivo con tu editor:
nano /home/USUARIO/proyectos/sysutils/config/config.confEjemplo de contenido:
BACKUP_DIR="/home/USUARIO/backups"
LOG_LEVEL="INFO"
AUTO_DELETE_DAYS=30
TEMP_DIRS="/tmp /var/tmp"
TRASH_DIR="/home/USUARIO/.local/share/Trash"
CACHE_DIRS="/home/USUARIO/.cache"Guarda el archivo. Los cambios aplican en la siguiente ejecución de sysutils.
Puedes volver a ejecutar el asistente:
cd /home/USUARIO/proyectos/sysutils
rm -f .installed
./sysutils.shsysutils está escrito en Bash, pero funciona en ambos shells porque la instalación añade este bloque a .bashrc y .zshrc:
# sysutils - inicio
export SYSUTILS_ROOT="/home/USUARIO/proyectos/sysutils"
export PATH="$SYSUTILS_ROOT/bin:$PATH"
# sysutils - fin- No se usan enlaces simbólicos
- No necesitas alias adicionales
- El comando
sysutilsqueda disponible globalmente tras recargar la shell
sysutils/
├── sysutils.sh # Punto de entrada inicial (instalación)
├── bin/sysutils # Comando principal
├── commands/ # Comandos individuales
├── lib/ # Librerías compartidas
├── config/config.conf # Configuración
├── logs/ # Registros diarios
├── install.sh # Lógica del asistente
├── uninstall.sh # Desinstalación
└── README.md
Desde el directorio del proyecto:
cd /home/USUARIO/proyectos/sysutils
chmod +x uninstall.sh
./uninstall.shEl script:
- Elimina el bloque PATH de
.bashrcy.zshrc - Pregunta si borrar copias, backups y logs
- No usa enlaces simbólicos
Recarga la shell después:
source /home/USUARIO/.bashrc
# o
source /home/USUARIO/.zshrcRecarga tu shell:
source ~/.bashrc # bash
source ~/.zshrc # zshVerifica que el bloque # sysutils - inicio existe en tu archivo de configuración de shell.
chmod +x sysutils.sh
./sysutils.shEl comando funciona con un escaneo básico. Para mejor resultado:
sudo apt install nmap # Debian/Ubuntu
sudo dnf install nmap # Fedora
sudo pacman -S nmap # Archcleanup solo elimina archivos propios del usuario en directorios temporales. No requiere root.
Los registros se guardan en:
/home/USUARIO/proyectos/sysutils/logs/YYYY-MM-DD.log
MIT — ver LICENSE.
Linux command-line utility with system tools: monitoring, backups, cleanup, diagnostics, and network scanning.
It works like real commands (git, docker, systemctl): after installation, you type sysutils in bash or zsh.
Current version: 1.0.0 (MVP)
- Linux (Ubuntu, Debian, Fedora, Arch, etc.)
- Bash 4 or higher
- Git (to clone the repository)
- zsh (optional; sysutils configures both shells)
Optional tools (improve some commands):
nmap— more complete network scanningsensors— system temperaturetar,ping,ip— included in most distributions
Open a terminal and clone the repository to your preferred path:
cd /home/USER/projects
git clone <REPOSITORY_URL> sysutils
cd sysutilsReplace
/home/USERwith your actual username (for example/home/john).
chmod +x sysutils.sh install.sh uninstall.sh bin/sysutils./sysutils.shYou do not need sudo for the default installation.
The wizard will guide you through:
- Location: use the current folder or copy to
/home/USER/.local/share/sysutils - Configuration: backup directory, trash, cache, retention days, and log level
- Shell: registers
sysutilsin your.bashrcand.zshrc
# If you use bash:
source /home/USER/.bashrc
# If you use zsh:
source /home/USER/.zshrcOr close and open a new terminal window.
sysutils --version
sysutils doctor
sysutils monitorIf you see the version and command output, the installation was successful.
After installation, use sysutils from any directory:
sysutils <command> [options]| Command | Description |
|---|---|
monitor |
CPU, RAM, disk, temperature, uptime, IP, etc. |
backup |
Create, list, restore, and clean backups |
cleanup |
Clean temp files, trash, and cache |
doctor |
Check important installed tools |
netscan |
Discover devices on the local network |
sysutils monitorShows hostname, kernel, IP, uptime, CPU, RAM, disk, and temperature.
# Create a backup of the home directory
sysutils backup create
# Create a backup of a specific path
sysutils backup create /home/USER/documents
# List backups
sysutils backup list
# Restore a backup
sysutils backup restore backup_2026-07-07_12-00-00.tar.gz
# Delete old backups (based on AUTO_DELETE_DAYS)
sysutils backup cleansysutils cleanup --temp # old temp files
sysutils cleanup --trash # empty trash
sysutils cleanup --cache # clean user cache
sysutils cleanup --all # all of the aboveAlways asks for confirmation before deleting files.
sysutils doctorChecks: Git, cURL, Wget, SSH, Nmap, GCC, Python, and Node.
sysutils netscanIf nmap is installed, uses advanced scanning. Otherwise, uses ping + ARP table.
The configuration file is located at:
/home/USER/projects/sysutils/config/config.conf
(or at /home/USER/.local/share/sysutils/config/config.conf if you chose to copy during installation)
| Variable | Description | Default value |
|---|---|---|
BACKUP_DIR |
Directory where backups are stored | /home/USER/backups |
LOG_LEVEL |
Log level: DEBUG, INFO, WARN, ERROR | INFO |
AUTO_DELETE_DAYS |
Days before deleting old backups | 30 |
TEMP_DIRS |
Temp directories to clean | /tmp /var/tmp |
TRASH_DIR |
Trash location | /home/USER/.local/share/Trash |
CACHE_DIRS |
User cache directories | /home/USER/.cache |
Open the file with your editor:
nano /home/USER/projects/sysutils/config/config.confExample content:
BACKUP_DIR="/home/USER/backups"
LOG_LEVEL="INFO"
AUTO_DELETE_DAYS=30
TEMP_DIRS="/tmp /var/tmp"
TRASH_DIR="/home/USER/.local/share/Trash"
CACHE_DIRS="/home/USER/.cache"Save the file. Changes apply on the next sysutils run.
You can run the wizard again:
cd /home/USER/projects/sysutils
rm -f .installed
./sysutils.shsysutils is written in Bash but works in both shells because installation adds this block to .bashrc and .zshrc:
# sysutils - inicio
export SYSUTILS_ROOT="/home/USER/projects/sysutils"
export PATH="$SYSUTILS_ROOT/bin:$PATH"
# sysutils - fin- No symbolic links are used
- No additional aliases are needed
- The
sysutilscommand is available globally after reloading your shell
sysutils/
├── sysutils.sh # Initial entry point (installation)
├── bin/sysutils # Main command
├── commands/ # Individual commands
├── lib/ # Shared libraries
├── config/config.conf # Configuration
├── logs/ # Daily logs
├── install.sh # Wizard logic
├── uninstall.sh # Uninstallation
└── README.md
From the project directory:
cd /home/USER/projects/sysutils
chmod +x uninstall.sh
./uninstall.shThe script:
- Removes the PATH block from
.bashrcand.zshrc - Asks whether to delete copies, backups, and logs
- Does not use symbolic links
Reload your shell afterwards:
source /home/USER/.bashrc
# or
source /home/USER/.zshrcReload your shell:
source ~/.bashrc # bash
source ~/.zshrc # zshVerify the # sysutils - inicio block exists in your shell configuration file.
chmod +x sysutils.sh
./sysutils.shThe command works with basic scanning. For better results:
sudo apt install nmap # Debian/Ubuntu
sudo dnf install nmap # Fedora
sudo pacman -S nmap # Archcleanup only removes the user's own files in temp directories. Root is not required.
Logs are stored at:
/home/USER/projects/sysutils/logs/YYYY-MM-DD.log
MIT — see LICENSE.