MCQs > IT & Programming > Bash > Using "awk", what would the output of this command string be? echo "1 2 3" | awk '{for (i=1; i<=NF; i++) s=s+$i};END {print s}'

Bash MCQs

Using "awk", what would the output of this command string be? echo "1 2 3" | awk '{for (i=1; i<=NF; i++) s=s+$i};END {print s}'

Answer

Correct Answer: 6

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Bash Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Bash Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it