Question
1.
2.
3.
4.
Answer (Detailed Solution Below)
Option 2 : Subdirectories inside /var/log / /var/log के भीतर उप-निर्देशिकाएं
Advertisement
Detailed Solution
सही उत्तर Subdirectories inside /var/log / /var/log के भीतर उप-निर्देशिकाएं है।
Key Points
Helpful?
Question:
What does the Linux command `ls -l /var/log | grep "^d" | wc -l` count? / लिनक्स कमांड `ls -l /var/log | grep "^d" | wc -l` क्या गिनता है?
1.
All files inside /var/log / /var/log के भीतर सभी फाइलें
2.
Subdirectories inside /var/log / /var/log के भीतर उप-निर्देशिकाएं
3.
Hidden files inside /var/log / /var/log के भीतर छिपी फाइलें
4.
Total disk usage of /var/log / /var/log का कुल डिस्क उपयोग
Correct Answer: Subdirectories inside /var/log / /var/log के भीतर उप-निर्देशिकाएं
`ls -l` prefixes each line with a type letter, and 'd' marks directories. grep "^d" keeps only directory lines and wc -l counts them, so the output is the number of subdirectories. / `ls -l` में 'd' से शुरू होने वाली पंक्तियां निर्देशिकाएं होती हैं; grep उन्हें छाँटता है और wc -l गिनता है।
Downloaded from PrepSnap (prepsnap.in)