add fetch and unpk command and change some profile
This commit is contained in:
parent
c33a064bb5
commit
56b133cc80
3 changed files with 38 additions and 0 deletions
8
files/.local/bin/fetch
Executable file
8
files/.local/bin/fetch
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue