Linux Bash Arithmetic Expressions Question:

Which command runs the shell built-in command 'command' with the given argument?
a) builtin
b) caller
c) there is no command present for this purpose
d) none of the mentioned

Linux Bash Arithmetic Expressions Interview Question
Linux Bash Arithmetic Expressions Interview Question

Answers:

Answer #1
a) builtin

Answer #2
H


Previous QuestionNext Question
The command 'hash':
a) manages a internal hash table
b) find and remember the full path name of the specified command
c) displays used command names and the number of hits
d) all of the mentioned
After running this program, if you enter 1000, then what will be the output of the program?
#!/bin/bash
echo "Please enter a number"
read a
if [ $a -lt 100 ]; then
echo "It is less than 100";
elif [ $a -lt 1000 ]; then
echo "It is less than 1000"
else
echo "It is greater than 1000"
fi
exit 0
a) It is greater than 1000
b) It is less then 1000
c) It is equal to 1000
d) none of then mentioned