diff --git a/exam1.md b/exam1.md index 6a11404..963974a 100644 --- a/exam1.md +++ b/exam1.md @@ -128,6 +128,25 @@ b) Authentication & Account Management: c) Project Management: List Ghaymah projects. screenshot the output. +### **6. Ghaymah Cloud Platform Integration (15 marks)** + +a) Analyze the following complex command and answer the questions below: + + +``` +curl -s https://logs.ghaymah.systems/sample.log | grep "ERROR" | awk '{print $1, $4}' | sort | uniq -c | sort -nr | head -5 > top_errors.txt && cat top_errors.txt | mail -s "Top 5 System Errors" admin@ghaymah.systems +``` + +1. List each command in the pipeline and explain its specific function + +2. Explain what the && operator does in this context + +3. Explain what does this command will output once it's run, please make a hypothetical scenario + + + + +