answersLogoWhite

0

How do you find a file in Unix?

Updated: 10/3/2023
User Avatar

Wiki User

11y ago

Best Answer

All Unix systems provide a 'find' command that searches for specific files in a given directory. To find a file that has the word "foo" in the /usr directory, I would type:

$ find /usr -name *foo*

For more information, see 'man 1 find'.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

" find " , "locate", "slocate" commands can be used . GUI utilities also exist .

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you find a file in Unix?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Where would you find a host file on a unix server?

The host file in Unix is usually located in the /etc directory.


In unix how will you find extension of file using commands?

Unix files do not rely on extensions, therefore there is no command to find them.


Where can one find information on the UNIX file system?

Information on the UNIX file system can be found in some magazines dedicated to technology such as Science Illustrated. Information can also be found on UNIX's official website.


The Unix file contains which kinds of fields?

The Unix file contains which kinds of fields?


What is the system file in Unix?

There is no the system file. There are many files necessary to create a working Unix system.


How do you Find size of a file using c program?

OS-dependent.stat for unix, FindFirstFile for Windows.


Is Unix a web browser?

Unix is a text file, not a web browser. :)


What has the author Douglas W Topham written?

Douglas W. Topham has written: 'A system V guide to UNIX and XENIX' -- subject(s): UNIX System V (Computer file), XENIX (Computer file) 'The first book of UNIX' 'UNIX and XENIX' -- subject(s): UNIX (Computer file), XENIX


How do you create dummy file in unix?

using touch command of UNIX. syntax touch <filename> will create dummy regular file.


Is there a define type program for Unix?

If you are asking about how can you find the type of file something is, the command is 'file' followed by the filename. This command will attempt to tell you something about the file and how it might be used.


How do you edit a file in UNIX?

To edit any file in Unix, use a file editor; there are several, including the venerable 'vi' program or 'vim', pico, nano, etc.


The Windows file extension au denotes what type of file?

Unix audio file.