answersLogoWhite

0


Best Answer

Unix really doesn't use file extensions, but if you want to look for them recursively, then use:

ls -R *txt

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the unix command to search the files extension 'txt' in their names in a directory and all its subdirectries?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What happens when you give the which utility the name of a command that resides in a directory that is not in the search path?

It won't find it.


What command may be used to search the etc directory for files that are owned by the user geeko?

ls -la /etc | grep geeko


How do you find what files are taking space in Linux?

Type cd / to get to the root directory, get to your home directory, or get to the directory you wish to search from and type the below command.find . -size +500000 -printThis command would search for anything that's larger than 500MB. This value can be adjusted to a smaller value if no files are found that are this large.


What search engines or directories provides the directory search results for Yahoo?

results come from the Yahoo Directory


What is the difference between a crawler and directory search engine?

A crawler is the bot that crawls a site to rank it and or submit it into a search engine. A directory search engine is a website that has websites listed on it and allows you to search for what you are looking for inside of the directory.


What command would you use to find where executable file resides of the system in Linux?

"find / -executable" will search the root directory for executables. Not that this will also show directories that are accessible.


What is keyword and directory search?

Keyword search is finding the most desirable keyword for your website while directory search is finding relevant directories where you can submit your website.


How do you find world-writable files in the UNIX file system?

With the command find . -type f -perm /o+w you may want to replace "." with a different directory in which to search.


How do you list all of the files in the current directory in Unix?

the command is - ls there are other options and flags for the ls command which can be viewed by typing man ls if you type 'man ls' in a google search, it will show you the same manual


What command can be used to view a list of directories hierrchies?

The command ls / will list the contents of the root directory; most items will be directories or links. If you want to see only directories, ls -l / | grep ^d will give a "long" list (including information other than the directory name) but limited to those lines beginning with a "d", indicating a directory. The output of this pipeline can be piped to the awk utility to select only the last word of each line, which will be the directory name; alternatively the output can be redirected to a text file which you can then edit: ls -l / ] grep ^d > textfilename Another approach would be to use the find command to search / for entries of type d, with search depth limited to 1.


Which search engine or directories provides the search result for yohoo?

Yahoo Directory


Which search engines or directories provide the directory search results for Yahoo?

Google!