add utility script to show remote logs
This commit is contained in:
parent
1d52a1c739
commit
0a4dd14189
1 changed files with 11 additions and 0 deletions
11
log.sh
Executable file
11
log.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
REMOTE_USER=kmahan
|
||||||
|
HOST=orin.kylewm.com
|
||||||
|
|
||||||
|
ssh -t $REMOTE_USER@$HOST bash -c "'
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
sudo tail -n 60 -f /var/log/upstart/woodwind.log
|
||||||
|
'"
|
Loading…
Add table
Add a link
Reference in a new issue