Thread: Finding a comment or directive I've used in a file
i typed comment in file (using "#" of course) on linux server, can't remember put it. there way find term, word or directive (such <limit>) i've used?
use grep.
that search starting @ '/' recursively through files, ignoring binary files. take while.code:grep -r -i 'string you're searching for' /*
if remember directory put file in, or extension of file, speed search.
more options,
code:man grep
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] Finding a comment or directive I've used in a file
Ubuntu
Comments
Post a Comment