Last active
December 27, 2021 13:07
-
-
Save Nircek/acb62cdebd3b6029e160551dfc636c52 to your computer and use it in GitHub Desktop.
get all info about debian system
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # debian-like systems (apt installed) | |
| sudo apt install inxi finger | |
| clear | |
| ((cat /proc/cpuinfo;echo;for user in $(cat /etc/passwd | cut -f1 -d":");do id $user;finger $user;done;echo "Services:$(echo;systemctl --type=service --all;echo;service --status-all;echo)w:$(echo;w;echo)who:$(echo;who -a;echo;)last:$(echo;last;echo)";inxi -pildfForumxxxv8c0tmc||inxi -pildfForumxxxv 7 -c 0 -tmc;echo "$(dpkg -l | grep -c '^ii') packages:$(echo;dpkg --list)";zgrep 'Start-Date:\|Commandline: apt\|End-Date:' /var/log/apt/history.log /var/log/apt/history.log.*.gz;) 2>/tmp/debug-log;echo "stderr:";cat /tmp/debug-log;rm /tmp/debug-log) | |
| unset HISTFILE | |
| logout |
Author
Nircek
commented
Dec 27, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment