Files
shellScripting/shell_scripting_succinctly/exercise3.sh

6 lines
150 B
Bash
Raw Normal View History

2026-01-31 08:01:44 -05:00
#!/bin/bash
DEVICE_NAME=$(hostname)
echo "This script is running on ${DEVICE_NAME} where '${DEVICE_NAME}' is the output of the 'hostname' command."