Home
Exams
Providers
About
Sign In
Sign Up
Home
/
Exams
/
CompTIA CompTIA Linux+ Powered by LPI 2
/
Question #10
#10
Multiple Choice
Mark for review
Which of the following commands creates a function in Bash that outputs the sum of two numbers?
A.
function sumitup { echo $(($1 + $2)) ; }
B.
command sumitup { echo $(($1 + $2)) ; }
C.
function sumitup { echo $1 + $2 ; }
D.
method sumitup { echo $1 + $2 ; }
E.
command sumitup { echo $1 + $2 ; }
Reveal Answer
Previous
Question 10 of 179
Exam LX0-104 Topic 1 Question 10
Back to all questions
Next
Sign In
Sign Up