Question
How many triangles can be formed by joining the vertices
of an hexagon?Solution
To find how many triangles can be formed from a hexagon's vertices:  A hexagon has 6 vertices.  A triangle needs 3 vertices.  The number of ways to choose 3 vertices out of 6 is given by combinations: [C(6, 3) = {6!}/{3! x 3!} = 20 Hence, 20 triangles can be formed.
How can you make a shell script executable?
Which command is used to display the current working directory?
What does the #!/bin/bash line at the beginning of a shell script indicate?
In shell scripting, how do you assign the string "Hello World" to a variable named `MESSAGE`?
Which command is used to display the number of lines in a file?
Extended globbing in bash allows:
What does the command `chmod 755 myscript.sh` set as permissions for `myscript.sh`?
In bash, what does trap 'echo Exit' EXIT do?
Which command is used to display the last few lines of a file?
Which ETL process step validates and cleans data before loading?