Question
Which command safely iterates over filenames that may
contain spaces and newlines in a shell script?Solution
**for f in *expands to filenames preserving spaces;lsand command substitution break on whitespace/newlines. For arbitrary names including newlines,find -print0withwhile IFS= read -r -d ''is safest but among options,for f in *` is correct.
What is the primary objective of the MoU signed redcently between EEPC India and the Indian Stainless Steel Development Association (ISSDA)?
Which sector experienced the highest growth in the Index of Eight Core Industries (ICI) in June 2024?
Which of the following is NOT a key intervention facilitating SDG achievements in India?
Which branch of the Indian armed forces has entered into a memorandum with the Indian Oil Corporation Limited to explore hydrogen and fuel cell technolo...
With reference to the Henley Passport Index 2025, consider the following statements:
1.India’s passport ranked 77th, its highest-ever position,...
Which company recently launched the world's first CNG bike, ‘Freedom 125,’ which runs on petrol and also has the option of CNG (compressed natural g...
The "Pradhan Mantri JI-VAN Yojana" was recently extended to include which new focus area?
Which country became India's second-largest supplier of liquefied natural gas (LNG) in 2023?
A Google employee recently created the “world’s first AI dress.” What is this dress called?
What is the primary purpose of the Ayushman Bharat Health Account (ABHA)?