Hot answers tagged

21 votes

Official online RPM package browser / search for CentOS

https://pkgs.org/ provides a "Linux Packages Search" for several distributions, including CentOS 5–7.
user avatar
  • 325
12 votes

Windows 2012 R2 - Search for Files using MD5 Hash?

Sure. You'll probably want to do something more useful than the following example though. $evilHashes = @( '4C51A173404C35B2E95E47F94C638D2D001219A0CE3D1583893E3DE3AFFDAFE0', '...
user avatar
  • 24k
10 votes

yum search - package version

AFAIK, yum info only shows information for one specific "instance" of a package. I wanted to know not what version I had installed but which were available on the repos. So this did it for me: yum -v ...
user avatar
  • 220
9 votes

Windows 2012 R2 - Search for Files using MD5 Hash?

If you have a copy of the file, you should activate AppLocker across the entire domain and add a hash rule for that file to stop its execution. This has the added bonus of identifying computers that ...
user avatar
  • 22.5k
9 votes

Windows 2012 R2 - Search for Files using MD5 Hash?

[String]$BadHash = '5073D1CF59126966F4B0D2B1BEA3BEB5' Foreach ($File In Get-ChildItem C:\ -file -recurse) { If ((Get-FileHash $File.Fullname -Algorithm MD5).Hash -EQ $BadHash) { ...
user avatar
  • 54.8k
7 votes

I want a file search like 'Everything' for network shares

Actually, Everything Search can search on the network, but you have to create a file list yourself. Go to Tools -> File List Editor Click Edit -> Add folder --> here, select a shared folder on the ...
user avatar
  • 171
6 votes
Accepted

Windows Search Indexer Uses High CPU Usage

The CPU usage you showed in the screenshots is not very high. So let's start by investigating what do you mean by "slowness". It's very likely that your disks are saturated, causing everything to feel ...
user avatar
3 votes
Accepted

Using GREP to Find Text in Files

. * ^ $ [ and ] have special meaning in regular expressions and need to be backslash escaped. sudo grep -ilr 'if (isset(\$_COOKIE\["id"\])) @\$_COOKIE\["user"\](\$_COOKIE\["id"\]);' /path/to/dir/
user avatar
  • 606
3 votes
Accepted

How to use find to delete hidden files and folders

With -type f you are looking for files. The three files you mentioned are symbolic links: rwxr-xr-x 1 whitecat staff 19B Apr 5 12:47 nopt -> ../nopt/bin/nopt.js To find links you need to ...
user avatar
  • 335
3 votes
Accepted

How do I reinstall the Search/Indexing Feature on Server 2012 R2?

Open Server Manager, click on Add roles and features click next until you get to Features and then uncheck Windows Search Service and complete the wizard. You might be best of sharing the issue you ...
user avatar
2 votes

How do you do a keyword search the Services.msc (mmc) window in Windows 7?

I also wonder the same :-( Even in Windows 10 still nothing about the search function in the MMC view of Windows Services. Anyway I found this utility Serviwin at the following link: http://www....
user avatar
  • 121
2 votes

Recursive text search with grep and file patterns

you might be able to make use of your zsh's EXTENDED_GLOB option (docs) grep <pattern> **/*.txt
user avatar
  • 121
2 votes

Windows Search Indexer Uses High CPU Usage

You ask the totally wrong question. NO server gets unresponsive with 20% or 30% CPU usage. Here is a hint: it is only using that little CPU because your discs are overloading. So the question has ...
user avatar
  • 50.7k
2 votes
Accepted

Windows index search on Server 2012 R2 fails randomly

Look at event log on the client machine and find the time when the indexing search failed. You can create a special scheduled task which will be triggered by a needed event and will run PS script. My ...
user avatar
  • 5,086
2 votes

How do you get Google to update the index of your site after recovering from a hack?

Did you tried to send a site map to Google. Ask Google to recrawl your URLs If you’ve recently added or made changes to a page on your site, you can ask Google to (re)index it using the Fetch ...
user avatar
  • 16k
2 votes
Accepted

Restrictions for built in domain administrators for windows search?

This is definitely an annoying problem and I don't have a root cause or permanent fix for it. But I have a workaround that seems to solve the immediate problem on a per-account basis. In short, ...
user avatar
  • 16.4k
2 votes
Accepted

Return/edit "slash" search string in vi(m)

Have you tried up/down arrows for that? '/' then up give you opportunity to go through history of searches even in other files.
user avatar
  • 373
1 vote

Windows search cannot find files in current directory

It could be that your search index is corrupt. If that's the case, the best option is to rebuild the index. Control Panel --> Indexing Options --> Advanced --> Rebuild It will probably ...
user avatar
  • 2,857
1 vote

How do you get Google to update the index of your site after recovering from a hack?

You can try adding 301 redirects for those pages so that they point to your front page. This might make it faster for Google to expire the hacked pages.
user avatar
1 vote

Exchange 2013 - Discovery Search Mailbox Cleanup - Delete Search Folders

Did you already find a way to do this? I know it's been a few months, but there are a few ways to do this, none of them explicitly "simple". Option 1 is the easiest way to delete the results of a ...
user avatar
1 vote

Apache Solr in openshift redhat application

Have you checked out the installation notes found in the manual? Installing Solr Solr is available from the Solr website at http://lucene.apache.org/solr/.Apache Solr Reference Guide 5.0 5 ...
user avatar
  • 642
1 vote

Windows 10 search bar and group policies

Your applocker policies must be out of date. If you have a white list applocker, nothing but what's listed should run, search is not the problem.
user avatar
  • 23.9k
1 vote
Accepted

Windows Search in Outlook 2013 on Remote Desktop Service Windows Server 2012R2

You have to install Windows Search services for search to work in Outlook on RDS. A caveat is about the index file that will grow as many users will use the RDS. Now the file on our server is 12 GB ...
user avatar
  • 26
1 vote
Accepted

Keyword search of Existing Registered Domains?

There is no single canonical list of domain names. Some TLDs offer paid access to their lists: (taken from this SO answer) For .com and .net, Verisign provides the TLD Zone Access Program where ...
user avatar
  • 32.1k
1 vote

How do I reinstall the Search/Indexing Feature on Server 2012 R2?

KV: a big thank you for that idea. It didn't work quite the same for me, but led to solution. My File Explorer (on a 2012R2) had the 'green bar death.' The Indexing Option tool was frozen with a ...
user avatar
1 vote

Locate / Updatedb with archive support? (tar.gz etc.)

Try https://framagit.org/daajaa/find_tar that I made to answer your question. More, it explores tar files inside tar files (recursive). This is a shell script, so that you can review it yourself ...
user avatar
1 vote

Search for a word before white-space

Take the following dataset: # cat mailaddresses.txt info@example.com info51351@hotmail.com test@hello.com test6261@gmail.com example@example.com example64262@gmail.com infotest@example2.com yadayada@...
user avatar
1 vote

What is needed to allow searching of file contents on remote 2012 R2 share

The option you mentioned is directly related to the windows search service. It is greyed out when it's not installed. Try using "Content:" or the corresponding word in your servers language in the ...
user avatar
1 vote

Hyperlinks between Logs

Not sure if linking is possible, but I'm using Elasticsearch (to store the data and make it searchable) and Graylog (to query and actual search for the data; it provides a Webinterface and an API) for ...
user avatar
  • 5,463
1 vote

Search strings in text files and show in output the string, preceding one and next one (cmd.exe)

Powershell. Specifically, the -Context parameter of the Select-String Cmdlet will give you the context surrounding the selected text. PS C:\Users\ryan> gc .\temp.txt 1 2 3 4 5 6 7 8 9 10 PS C:\...
user avatar
  • 54.8k

Only top scored, non community-wiki answers of a minimum length are eligible