LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices


Reply
  Search this Thread
Old 02-02-2020, 09:34 PM   #1
silverlining
Member
 
Registered: Jan 2020
Location: Oregon, U.S.A.
Distribution: Slackware64 ver 15.0
Posts: 99

Rep: Reputation: 19
Search doesn't work for me. What am I doing wrong?


I'm new here and can't make heads nor tails of Search. For instance, I make it simple and tell the search window to search for awk and it returns, Sorry - no matches. Please try some different terms. About half the times that I try to search, I get, The LinuxQuestions.org database has encountered a problem.

I happened to find a different way that works but it seems it's not the normal way. I go to a forum, then click the New Thread button. In the Subject, I type the word awk. Then when I click on the button, Click Here to Find Similar Threads, I see lots of them listed. Surely that's not the intended way to search!

I also found a [SOLVED] post #786514 (I think), which told how to use Goggle to search. I tried it that way and got screens full of LinuxQuestion.com answers.

If I can't even find one word, how do I do a complicated search with several words?
 
Old 02-03-2020, 03:50 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
It works here, even with pretty heavy JS restrictions. (I don't even know if it uses javascript).
Have you tried a different browser?
 
Old 02-03-2020, 04:40 AM   #3
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
You're not alone... I've lost count of the amount of times LQ Search has failed me - I've even gotten that exact same error message myself. I usually give up and use Google instead...

According to Jeremy, when (or if) he ever brings us LQ 2.0, LQ Search will be "much better". But who knows when that'll be...
 
Old 02-03-2020, 10:37 AM   #4
silverlining
Member
 
Registered: Jan 2020
Location: Oregon, U.S.A.
Distribution: Slackware64 ver 15.0
Posts: 99

Original Poster
Rep: Reputation: 19
@business_kid, Chrome and Firefox--latest versions--both say Sorry - no matches.

It's not a big deal. I just thought I was doing something wrong.
 
Old 02-03-2020, 11:21 AM   #5
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,605

Rep: Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104
Single word searches need to be a minimum of 4 letters to return results. While the next code update will contain an improved search, note that in the content of LQ, "awk" is not likely to return useful responses.

--jeremy
 
Old 02-03-2020, 11:32 AM   #6
silverlining
Member
 
Registered: Jan 2020
Location: Oregon, U.S.A.
Distribution: Slackware64 ver 15.0
Posts: 99

Original Poster
Rep: Reputation: 19
Thank you, Jeremy. I've looked but didn't find any page with tips explaining how to properly search. Is such a page somewhere on the site? At any rate, this is a wonderful site!

Last edited by silverlining; 02-03-2020 at 11:35 AM.
 
Old 02-03-2020, 11:37 AM   #7
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,605

Rep: Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104
We don't have much in the way of tips, but in general my advice for LQ search is the same as search in general: be as specific as possible. ie. in this case, what are you looking to do with awk? The information we do have on the search is available here: https://www.linuxquestions.org/quest...faq_vb3_search

--jeremy
 
1 members found this post helpful.
Old 02-03-2020, 11:47 AM   #8
silverlining
Member
 
Registered: Jan 2020
Location: Oregon, U.S.A.
Distribution: Slackware64 ver 15.0
Posts: 99

Original Poster
Rep: Reputation: 19
Now I understand some of my errors. Thank you, and I'll mark this as solved.
 
Old 02-03-2020, 12:43 PM   #9
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
Use google, that's what it is for. That's why they get the big bucks.

Open web browser to:
Code:
https://www.google.com/search?q=site:linuxquestions.org+awk&gws_rd=ssl&num=50
 
Old 02-03-2020, 12:47 PM   #10
silverlining
Member
 
Registered: Jan 2020
Location: Oregon, U.S.A.
Distribution: Slackware64 ver 15.0
Posts: 99

Original Poster
Rep: Reputation: 19
Yeah, that does work pretty well!
 
Old 02-03-2020, 12:53 PM   #11
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Quote:
Originally Posted by teckk View Post
That's why they get the big bucks.

They get the big bucks by sucking up all your data and metadata and then selling it to 3rd parties who make big bucks using it to feed the world advertising [removed].


That's how it works.


Don't feed the monster (Google). DDG instead.
 
1 members found this post helpful.
Old 02-03-2020, 12:59 PM   #12
silverlining
Member
 
Registered: Jan 2020
Location: Oregon, U.S.A.
Distribution: Slackware64 ver 15.0
Posts: 99

Original Poster
Rep: Reputation: 19
That's interesting!
 
Old 02-03-2020, 01:01 PM   #13
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
If you want to search LQ, using google, without using a web browser.

Code:
agent="Mozilla/5.0 (Windows NT 10.1; WOW64; rv:72.0) Gecko/20100101 Firefox/72.0"

url="https://www.google.com/search?q=site:linuxquestions.org"

read -p "Enter search word for linuxquestions.org: " search_word

html=$(curl -sLA "$agent" ""$url"+"$search_word"&gws_rd=ssl&num=50") 

grep -oP 'class="r"><a href="\K[^"]+' <<< "$html"
 
Old 02-03-2020, 01:27 PM   #14
silverlining
Member
 
Registered: Jan 2020
Location: Oregon, U.S.A.
Distribution: Slackware64 ver 15.0
Posts: 99

Original Poster
Rep: Reputation: 19
Wow! That's neat! Looks fun to try to figure out how it is doing that. Just storing some shell variables, then grep puts it all together? I love things I can do at the command line.
 
Old 02-13-2020, 05:07 PM   #15
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,818

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by jeremy View Post
Single word searches need to be a minimum of 4 letters to return results. While the next code update will contain an improved search, note that in the content of LQ, "awk" is not likely to return useful responses.

--jeremy
Does that include search strings in quotes? Or is a search for, say, "debug pam" still going to be a waste of time?

Every time I attempt a search for that string, I keep getting that error message with the option to "Refresh" (I mentioned this in another post.) "Refresh" takes me back to Advanced Search. Repeating the search seems is immediately looping back to the error page every time. (If it's timing out, the timeout value is in milliseconds.)

Last edited by rnturn; 02-13-2020 at 05:12 PM.
 
  


Reply

Tags
searching



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "exec env -i" doesn't seem to work. What am I doing wrong? spoovy Linux From Scratch 7 02-03-2011 01:19 PM
2domain but backingup the wrong one .. what am i doing wrong salimmeethoo Linux - Server 3 10-17-2007 10:43 AM
Argh! Can't get Captive NTFS to work in Fedora 3. Am I doing anything wrong? Mateo1041 Linux - Software 1 11-20-2004 11:58 PM
Etrem not doing what it was doing? mrsolo Linux - Software 2 09-26-2004 12:32 PM
setup ipchains, doesn't seem to do anything, what am i doing wrong? JustinHoMi Linux - Security 3 10-11-2001 08:46 AM

LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration