Computer Science · Shell Scripting
शेल स्क्रिप्टिंग (shell scripting) में, किसी निर्देशिका (directory) में फ़ाइलों जैसी वस्तुओं की सूची को प्रोसेस करते समय 'for' लूप का प्राथमिक उद्देश्य क्या होता है?
- 1किसी फ़ाइल से इनपुट को लाइन दर लाइन पढ़ना
- 2कोड के ब्लॉक को केवल तभी निष्पादित करना जब कोई फ़ाइल मौजूद हो
- 3पूर्वनिर्धारित मानों या वस्तुओं के सेट पर एक-एक करके पुनरावृति (iterate) करना✓
- 4एक शर्त पूरी होने तक किसी कमांड को बार-बार निष्पादित करना
सही उत्तर देखें
पूर्वनिर्धारित मानों या वस्तुओं के सेट पर एक-एक करके पुनरावृति (iterate) करना
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Shell Scripting?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Shell Scripting