Question
Choose the odd one
out:Solution
Kernel is the odd one out as it is not a shell like the others.
Which command is used to display the number of lines in a file?
What will be the output of the following script snippet?
  for item in Apple Banana Cherry; do
 echo $item
done
Which of the following is a system call used to create a new process in Unix-like operating systems?
Which of the following is the syntax for an `if` statement checking if a variable `NUM` is numerically equal to 5?
In a POSIX shell script, which construct correctly tests whether variable x is an empty string?
What does $# represent in a shell script?
Which command is used to display all currently running processes in Linux?
Which operator enables process substitution?
Which command is used to read user input from the keyboard and store it in a variable?
Which character is used to denote a single-line comment in a shell script?