answersLogoWhite

0


Best Answer

Different operating systems may have very different tools. On Linux and Unix-like systems, 'grep computers *' should do what you want.

For Windows (XP in particular):

In Windows Explorer (Windows Key-E), click the "Search" button on the toolbar... A search pane will appear on the left... Inthat pane, in the box under "Search for files and folders" type, "computers". All of the files with "Computers" in the name will be listed on the right-hand pane.

Be sure not to include files in sub-directories/folders if you only want files from the open folder/directory.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the command to search all files in your current directory for the word 'computers'?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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 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 is the purpose of path environment variable in the windows command CMD.EXE shell environment?

The PATH environment variable is the default search path(s) for when an explicit path is not provided and the file requested is not in the current directory.


Which command can be used to configure active directory permissions from the command line?

The following command-line tools can be used to manage Active Directory CSVDE Import and export Active Directory data using comma-separated format. Dsadd Add users, groups, computers, contacts, and organizational units to Active Directory. Dsmod Modify an existing object of a specific type in the directory. The types of objects that can be modified are: users, groups, computers, servers, contacts, and organizational units. Dsrm Remove objects of the specified type from Active Directory. Dsmove Rename an object without moving it in the directory tree, or move an object from its current location in the directory to a new location within a single domain controller. (For cross-domain moves, use the Movetree command-line tool.) Dsquery Query and find a list of objects in the directory using specified search criteria. Use in a generic mode to query for any type of object or in a specialized mode to query for for selected object types. The specific types of objects that can be queried through this command are: computers, contacts, subnets, groups, organizational units, sites, servers and users. Dsget Display selected attributes of specific object types in Active Directory. Attributes of the following object types can be viewed: computers, contacts, subnets, groups, organizational units, servers, sites, and users. LDIFDE Ceate, modify, and delete directory objects. This tool can also be used to extend the schema, export Active Directory user and group information to other applications or services, and populate Active Directory with data from other directory services. Ntdsutil General purpose Active Directory management tool. Use Ntdsutil to perform database maintenance of Active Directory, to manage single master operations, and remove metadata left behind by domain controllers that were removed from the network without being properly uninstalled.


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.


How can you tell whether a given file is a directory and how can you list all files in a directory including subfolders?

== == In a programming context, one usually determines whether a file is a directory using functions that access file metadata. These are dependent on the system you are programming and what language you are programming in. You should consult a reliable reference for the programming language, such as the manpages for C and C++ (in Unix-like systems) or Java's Javadocs (available on the web). To list all files in a directory, a programmer will usually iterate across all members of the directory and print some form of information found in the file metadata, such as the filename. ---- A parent directory is the directory containing the current directory. A child directory is a directory inside of the current directory. A subdirectory is a directory inside of the current directory or any its child directories. ---- In Windows, the most common way to determine if a file is a directory is using the GUI. To do this, right-click the file icon and click "Properites". If it is a directory, then the type of the file should be listed as "File Folder". Alternately, you can use the Command Prompt, which by default (Windows XP) can be accessed via the Start menu, in the Applications folder. Alternately, type "cmd" into the Run prompt (or the search field in Vista). You will be presented with a command line interface. Use the command "CD" followed by a file path to change to the desired directory, then type "DIR /A:D". This will list all files in the current directory with the attribute "directory". Alternately, you can include a path to the DIR command, such as "DIR /A:D C:\WINDOWS", to display the contents of the directory in the path. To list all files in subfolders, use the command "DIR /S". The /S flag will cause subdirectories to be printed as well. Usage of "ls" is explained in full in the manpages, try invoking "man ls" on your system for more information. In Windows systems using the NTFS filesystem, drives are mounted as separate entities and the root folder of a drive is the drive letter, followed by a colon and a backslash (i.e. "C:"). ---- In Unix-like systems, the most common utility is the command "ls". Remember that such systems are case-sensitive, so capitalization matters. To use it, open up a shell emulator, such as bash or csh, and type "cd" followed by a path to change to that directory (or include a desired path to the subsequent commands). Type "ls" to see a listing of all files in the current directory, or "ls /bin" to see a listing of all files in the directory "/bin". By adding in the arguments "l" and "a", as in the command "ls -la", you can additionally see the file permissions (starting with a 'd' if they are a directory), and the "." and ".." directories, respectively. To display the files in all subdirectories, add the argument 'R' to your list of arguments (or just do "ls -R" if you don't require more extensive information). Usage of "ls" is explained in full in the manpages, try invoking "man ls" on your system for more information. If you are using the bash shell, you can use pipes ('|') to chain together several programs to do such things as search or sort your results from the previous program. For example, "ls -l | grep foo" would first list the contents of the current directory (ls), then search through them and print out only those containing the string "foo" (grep). In most of these systems, storage devices are mounted to mountpoints, which are treated as directories within the system's directory tree. The root directory is "/". Every directory has a link to itself (".") and a link to the parent directory (".."). The root directory is special in that ".." also links back to the root directory.


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.


Which commands can be used to configure active directory permissions from the command line?

The following command-line tools can be used to manage Active Directory CSVDE Import and export Active Directory data using comma-separated format. Dsadd Add users, groups, computers, contacts, and organizational units to Active Directory. Dsmod Modify an existing object of a specific type in the directory. The types of objects that can be modified are: users, groups, computers, servers, contacts, and organizational units. Dsrm Remove objects of the specified type from Active Directory. Dsmove Rename an object without moving it in the directory tree, or move an object from its current location in the directory to a new location within a single domain controller. (For cross-domain moves, use the Movetree command-line tool.) Dsquery Query and find a list of objects in the directory using specified search criteria. Use in a generic mode to query for any type of object or in a specialized mode to query for for selected object types. The specific types of objects that can be queried through this command are: computers, contacts, subnets, groups, organizational units, sites, servers and users. Dsget Display selected attributes of specific object types in Active Directory. Attributes of the following object types can be viewed: computers, contacts, subnets, groups, organizational units, servers, sites, and users. LDIFDE Ceate, modify, and delete directory objects. This tool can also be used to extend the schema, export Active Directory user and group information to other applications or services, and populate Active Directory with data from other directory services. Ntdsutil General purpose Active Directory management tool. Use Ntdsutil to perform database maintenance of Active Directory, to manage single master operations, and remove metadata left behind by domain controllers that were removed from the network without being properly uninstalled.


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.