github.com/fafucoder/cilium@v1.6.11/examples/mesos/allfiles/tail_client.sh (about)

     1  #!/bin/bash
     2  if [ "$1" == "goodclient" ] || [ "$1" == "badclient" ] 
     3    then
     4      tail -f `find /var/lib/mesos -name stdout | grep $1`
     5    else 
     6      echo "Invalid input. Please enter goodclient or badclient."
     7  fi