Skip to main content

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.

code:
grep -r -i 'string you're searching for' /*
that search starting @ '/' recursively through files, ignoring binary files. take while.

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

Popular posts from this blog

Some mp4 files not displaying correctly (CS6)

Thread: Samba is not authenticating with LDAP