1
Fork 0

Parametrize the username a bit more

This commit is contained in:
prescientmoon 2024-05-21 01:37:39 +02:00
parent 2d5b7e794a
commit 2caf4884db
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
32 changed files with 288 additions and 239 deletions
home/features/cli/scripts

View file

@ -11,7 +11,7 @@ print_uptime() {
#
# For awk:
# -F: splits the input by a string
ssh adrielus@$HOST uptime \
ssh $USER@$HOST uptime \
| awk -F '(up |,)' '{print $2}'
}