NeptuneWorld
Home
Blogs
Quizzes
About me
🧐
🧐
Quiz: Basic Unix Commands
( 2 of 5 )
✘
Q.2 Display the count of lines having the word “sample” in the file sample.txt. The search should be case-insensitive.
$ grep -i “sample” sample.txt
$ grep -c “sample” sample.txt
$ grep -ic “sample” sample.txt
$ grep -ic sample.txt “sample”
#Unix
Prev
Next
📝
Related Quizzes
Unix commands
🏷️ Practice Question Tags
#FrescoPlay
#Driving Test
#G1
#AWS
#Redux
#Generative AI
#React.js
#Security
#JavaScript
#Google
#GCP
#7408
#22264
#python
#testing
#67031
#SSA
#TCS
#51283
#80302
#selenium
#64091
#Data Privacy
#Certifications
#Data Structures
#67033
#66767
#Unix
#Testing