diff scripts/pid2name.sh @ 54:334d65dac778

add hash bangs to specify bash shell
author smith@nwoca.org
date Wed, 24 Feb 2016 18:23:42 +0000
parents 2e2b47145349
children aa2fd199ba56
line wrap: on
line diff
--- a/scripts/pid2name.sh	Mon Feb 22 21:21:16 2016 -0500
+++ b/scripts/pid2name.sh	Wed Feb 24 18:23:42 2016 +0000
@@ -1,3 +1,4 @@
+#!/bin/bash
 docker ps -q | xargs docker inspect --format '{{.State.Pid}} {{.Name}}' \
      | grep "^$1" |  sed 's/^.*\///g'