Files
shellScripting/shell_scripting_succinctly/exercise3.sh
2026-01-31 08:01:44 -05:00

6 lines
150 B
Bash
Executable File

#!/bin/bash
DEVICE_NAME=$(hostname)
echo "This script is running on ${DEVICE_NAME} where '${DEVICE_NAME}' is the output of the 'hostname' command."