add exercise3.sh
This commit is contained in:
5
shell_scripting_succinctly/exercise3.sh
Executable file
5
shell_scripting_succinctly/exercise3.sh
Executable file
@@ -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