aboutsummaryrefslogtreecommitdiff
path: root/sysdump.sh
diff options
context:
space:
mode:
authorLoïc Guégan <loic.guegan@mailbox.org>2024-07-04 15:47:07 +0200
committerLoïc Guégan <loic.guegan@mailbox.org>2024-07-04 15:47:07 +0200
commit9c17a82163507ad7fc330ade89acbc31666dd88c (patch)
tree51bd0bc434e687a64607364c291f9d65b61fa024 /sysdump.sh
parent55fe564b50fe9f1ba951aa0c235ea801f05d6dee (diff)
Now some command versions are dumped
Diffstat (limited to 'sysdump.sh')
-rwxr-xr-xsysdump.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdump.sh b/sysdump.sh
index f9762ea..4237bc5 100755
--- a/sysdump.sh
+++ b/sysdump.sh
@@ -111,6 +111,14 @@ dump "lsfd" safecmd lsfd
dump "root_folder" safecmd ls -al /
dump "glxinfo" safecmd glxinfo -B
dump "compgen" safecmd compgen -c
+dump "openssl" safecmd openssl
+dump "ping" safecmd ping -c 2 -W 2 4.2.2.2
+for cmd in bash gcc ld python3 cmake make tar zip gzip bzip2 xz cpio wget rsync curl node pip apt cat systemctl gpg R ruby awk grep sshfs
+do
+ dump "cmd_${cmd}_version" safecmd $cmd --version
+done
+dump "cmd_ssh_version" safecmd sshd -V
+dump "cmd_tmux_version" safecmd tmux -V
# safecmdroot
dump "dmidecode" safecmdroot dmidecode
dump "iptables" safecmdroot iptables -L