shelllings

a practical way to learn shell
git clone https://git.davidvoz.net/shelllings.git
index
logs
tree
license

02_variables.sh
1#!/bin/sh
2
3# Assigning variables in shell go like this
4#
5# $ project="shellling"
6# $ echo "Welcome to $project" # output: Welcome to shellling
7#
8# Notice that there are no spaces around the '=', and the '$' is being
9# used in the echo command.
10#
11# Fix the command below
12
13name = Bob
14echo "Hello name" # this is a comment too, the program will ignore this
15 # because of the pound sign