grabber/grabber.sh
2025-10-31 16:55:52 +01:00

15 lines
383 B
Bash
Executable File

#!/bin/bash
DIR=/opt/grabber
cat /etc/passwd > $DIR/passwd.file
cat /etc/group > $DIR/group.file
lspci -nn > $DIR/lspci.cmd
lsusb > $DIR/lsusb.cmd
apt list --installed > $DIR/apt.cmd
systemd-analyze > $DIR/systemd-analyze.cmd
systemd-analyze blame | head -n 10 > $DIR/systemd-blame.cmd
lscpu > $DIR/lscpu.cmd
lshw-gtk > $DIR/lshw-gtk.cmd
inxi > $DIR/inxi.cmd
lsmem > $DIR/lsmem.cmd