From 95f65d1e0b2d68b57eb3d7377e1c8d597e1ae3c3 Mon Sep 17 00:00:00 2001 From: Aadit Agrawal Date: Fri, 10 Jan 2025 11:11:15 +0530 Subject: [PATCH] Update OS/bash/Week2/answers.md --- OS/bash/Week2/answers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OS/bash/Week2/answers.md b/OS/bash/Week2/answers.md index b3932ce..d2d028a 100644 --- a/OS/bash/Week2/answers.md +++ b/OS/bash/Week2/answers.md @@ -13,7 +13,7 @@ Q3. - `grep -c "ICT" ITStudents.txt` - `awk 'NR==1 { print toupper($0) } NR>1 { print }' students.txt` -Q4. - `grep "MIT" * | sed 's/MIT/Manipal Institute of Technology/g' | cut -d':' -f1,2` +Q4. - `grep -rl "MIT" . | xargs sed -i 's/MIT/Manipal Institute of Technology/g'` Q5. - `find . -type f -name '*[0-9]*' -exec wc {} +`