3 FAQ tagged "search files"
Viewing 1-3 of 3 FAQ -- How To Find Files by Content Under UNIX
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?
- Find command: Exclude / Ignore Files ( Ignore Hidden .dot Files )
Q. How do I ignore hidden .dot files while searching for files? How do I ignore or exclude certain files while running Linux / UNIX find command?
- How do I search my Linux / UNIX server for a file?
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 / -name foo.txt
Find out [...]
Viewing 1-3 of 3 FAQ - ( see all popular tags )



Recent Comments
Today ~ 1 Comment
Today ~ 5 Comments
Yesterday ~ 18 Comments
Yesterday ~ 3 Comments
Yesterday ~ 4 Comments