Parametrize the username a bit more
This commit is contained in:
parent
2d5b7e794a
commit
2caf4884db
32 changed files with 288 additions and 239 deletions
home/features/cli/scripts
|
@ -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}'
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue