CPSC-298 FINAL EXAM GRADED A+
_____ gives the owner read, write, and execute permissions - ANSWER-chmod 755
After you install Git and prior to issuing the first commit, which two configuration
properties does git expect to be configured? - ANSWER-Name and email address
echo -n "What is my favorite color?"
read COLOR
if [ "$COLOR" = "red" ]
_____
echo "Correct!"
else
echo "Nope!"
fi - ANSWER-then
for COLORS in red blue green
_____
echo $COLORS
done - ANSWER-do
for COLORS in red blue green
do
echo $COLORS
_____ - ANSWER-done
How do you stage files for a commit? - ANSWER-git add
How do you supply a commit message to a commit? - ANSWER-git commit -m "I'm
coding"
In shell scripts, comment lines begin with a(n) _____ - ANSWER-pound (#) symbol
Linux uses the freeware _____ shell as its default command interpreter - ANSWER-
Bash
Most shells keep a list of you recently used commands and allow you to recall a
command without retyping it - ANSWER-True
Once the Makefile has been created, you can build the software by using the _____
command - ANSWER-make
Stephen Bourne at AT&T Bell Labs developed the _____ shell as the first UNIX
command processor. - ANSWER-Bourne
_____ gives the owner read, write, and execute permissions - ANSWER-chmod 755
After you install Git and prior to issuing the first commit, which two configuration
properties does git expect to be configured? - ANSWER-Name and email address
echo -n "What is my favorite color?"
read COLOR
if [ "$COLOR" = "red" ]
_____
echo "Correct!"
else
echo "Nope!"
fi - ANSWER-then
for COLORS in red blue green
_____
echo $COLORS
done - ANSWER-do
for COLORS in red blue green
do
echo $COLORS
_____ - ANSWER-done
How do you stage files for a commit? - ANSWER-git add
How do you supply a commit message to a commit? - ANSWER-git commit -m "I'm
coding"
In shell scripts, comment lines begin with a(n) _____ - ANSWER-pound (#) symbol
Linux uses the freeware _____ shell as its default command interpreter - ANSWER-
Bash
Most shells keep a list of you recently used commands and allow you to recall a
command without retyping it - ANSWER-True
Once the Makefile has been created, you can build the software by using the _____
command - ANSWER-make
Stephen Bourne at AT&T Bell Labs developed the _____ shell as the first UNIX
command processor. - ANSWER-Bourne