shelllings |
git clone https://git.davidvoz.net/shelllings.git
|
| 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 | |
| 13 | name = Bob |
| 14 | echo "Hello name" # this is a comment too, the program will ignore this |
| 15 | # because of the pound sign |