8 lines
277 B
Bash
Executable file
8 lines
277 B
Bash
Executable file
#!/bin/sh
|
|
|
|
echo "$USER@$(hostname)"
|
|
echo 'os: Void Linux x86_64-musl'
|
|
echo "uptime:$(uptime -p | tr -d 'up')"
|
|
echo "ip: $(ip a | grep '192.168.178' | cut -d\ -f6 | cut -d/ -f1)"
|
|
echo "pkgs: $(xbps-query -lm | wc -l)"
|
|
echo "mem: $(free -Lm | cut -dU -f4 | cut -d' ' -f10) MiB"
|