if i have one folder say aaa and that folder having 100
files from that 50 files there aaa word is written how to
find in which aaa is writen and without opening that file
Answer Posted / nixor
grep -rl aaa ./aaa/*
That would list the file name where the string aaa is
present. (-l switch)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is an os command?
The command ‘umask -S’
How can we increase disk read performance in single command in Linux operating system?
What is the difference between kill and kill in linux?
Is a command a full sentence?
How do I run a shell script?
You attempt to delete a file called sales.mem using the rm command but the command fails. What could be the problem?
What is the fastest way to enter a series of commands from the command-line?
How do you copy in terminal?
What is cd command used for?
Who is unix command?
How do I do a whois search?
What is sudo bash command?
Explain the ‘ls’ command in linux
Which command is used to clear the screen?