How To Find Files by Content Under UNIX in Categories AIX, BASH Shell, CentOS, Debian / Ubuntu, Fedora Linux, File system, FreeBSD, HP-UX Unix, Korn Shell Scripting, Linux, OpenBSD, Programming, RedHat and Friends, Solaris-Unix, Suse, Ubuntu Linux, UNIX last updated May 3, 2017I had written lots of code in C for my school work and saved it as source code under /home/user/c/*.c and *.h. How do I find files by content such as string or words (function name such as main() under UNIX shell prompt?
Grep Words From a File in Categories AIX, CentOS, Debian / Ubuntu, Linux, OpenBSD, RedHat and Friends, Solaris-Unix, Suse, Ubuntu Linux, UNIX last updated November 12, 2008Q. How do I grep words from a text file under UNIX / Linux / BSD operating systems?