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
Who linux commands?
How do I find the umask value in linux?
Does linux cp command overwrite?
How do I test my cpu speed?
How do you create a text file in linux?
How many linux commands are there?
What are two functions the move mv command can carry out?
What is mkdir m in linux?
What are the commands in linux?
What is SFC command?
What is build process?
What could possibly be the problem when a command that was issued gave a different result from the last time it was used?
How do I list all processes in linux?
What command should you use to check the number of files and disk space used and each user’s defined quotas?
How do I find my user id in linux?