directory hierarchy

Q. I 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?

{ 23 comments }

How Do I find a file in Linux operating systems?

{ 0 comments }

Search For Files In Bash

by on February 15, 2007 · 2 comments

How do I search for file in Bash?

{ 2 comments }

Q. How do I search Linux box for a file? A. You need to use find command, which search for files in a directory hierarchy (file system) and prints information about the files it found. It is run like as follows: find {dir-name} -name {file-name} Find command examples Find out file called foo.txt: # find [...]

{ 9 comments }