Step 1: Understanding the Concept
Shape depends on bond pairs and lone pairs on the central atom (VSEPR theory).
Step 2: Check each molecule
\(\text{HBr}\) is diatomic, so it is linear.
\(\text{BeBr}_{2}\) and \(\text{CO}_{2}\) have no lone pair on the central atom and two bond pairs, so they are linear.
Step 3: Identify
\(\text{H}_{2}\text{S}\) has two bond pairs and two lone pairs on sulphur, so it is bent (V-shaped).
Final Answer:
\(\text{H}_{2}\text{S}\) is not linear.
\[ \boxed{\text{(B) }\text{H}_{2}\text{S}} \]