Question
Which among the following pairs sit immediate left and
immediate right of each other’s respectively? Study the following information carefully and answer the questions given below. Six persons i.e. A, B, C, D, E and F are sitting around a triangular table. Three of them are sitting at the corner of the table and the other three are sitting at the middle of the table. All of them are facing inside the table. A sits second to the right of C. Two persons sit between A and E. B sits to the immediate left of E. Two persons sit between F and B. D does not sit at the middle side of the table.Solution
A sits second to the right of C. As per this statement, there will be two cases getting framed and they are as follows: CASE I: Case-2
Two persons sit between A and E. B sits to the immediate left of E. CASE I:
Case-2
F faces B. D does not sit at the middle side of the table. As per this statement, CASE II will get eliminated and we will continue with CASE I and the final arrangement will look like this: CASE I:
What does #!/bin/bash at the start of a script mean?
Extended globbing in bash allows:
Which operator enables process substitution in bash (e.g., diff <(cmd1) <(cmd2))?
Which symbol is used for logical AND in shell scripting?
Which command is used to search for a pattern in files?
Which operator enables process substitution?
Which symbol is used in shell scripting to reference a positional parameter, e.g., the first argument passed to a script?
Which operator is used to append output to a file?
Which command is used to read user input from the keyboard and store it in a variable?
In shell scripting, how do you assign the string "Hello World" to a variable named `MESSAGE`?