Create a new file called hello.sh with the following content and give it executable permissions with chmod +x hello.sh.

Execute/Run via: ./hello.sh

#!/usr/bin/env bash
whom_variable="World" printf "Hello, %s\n" "$whom_variable"


Note:

# The spaces cannot be used around the `=` assignment operator
# Use printf to safely output the data

آیا این پاسخ به شما کمک کرد؟ 0 کاربر این را مفید یافتند (0 نظرات)