add exercise3.sh
This commit is contained in:
1 parent
4fe4d6b22b
commit
52e4ed37fc
1 file changed
+5
Executable
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
DEVICE_NAME=$(hostname)
|
||||||
|
|
||||||
|
echo "This script is running on ${DEVICE_NAME} where '${DEVICE_NAME}' is the output of the 'hostname' command."
|
||||||
Reference in new issue
Block a user