LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-29-2016, 04:39 PM   #1
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Rep: Reputation: Disabled
Linux search tool for newbies?


Normally, if I want to look for possible command line commands,
I would search online for suggestions.

But there may be times where it is not possible to have online access.
Is there any existing tools (graphical or otherwise) that
allows user to search for and get suggestions of possible commands to use?

For example, if I type the following in the search prompt:

ip address

Then maybe the knowledge based tool may suggests these to look at:
ifconfig, ip


Thank you
 
Old 02-29-2016, 05:40 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ Win10
Posts: 9,502

Rep: Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035
you'd be better going to a used book store and buying a book on basic / advance Linux topics for the most part all of the "tools" have not changed sense its birth.
 
Old 02-29-2016, 05:43 PM   #3
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,874
Blog Entries: 2

Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Catfish? http://lifehacker.com/5275697/catfis...-linux-desktop
 
Old 02-29-2016, 06:44 PM   #4
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Rep: Reputation: 49
Quote:
Originally Posted by fanoflq View Post
Normally, if I want to look for possible command line commands,
I would search online for suggestions.
But there may be times where it is not possible to have online access.
Is there any existing tools (graphical or otherwise) that
allows user to search for and get suggestions of possible commands to use?

For example, if I type the following in the search prompt:

ip address

Then maybe the knowledge based tool may suggests these to look at:
ifconfig, ip
Thank you
That's a nice idea. An off-line GUI on our desktop which intelligently helps us to troubleshoot problems with our OS.
Unfortunately, I don't know of such a thing. All I know is if I encounter problems with my Debian OS then my answer will most likely be found on Ubuntu forums on the net.

Without net connection, you'll have to resort to your smartphone to speak your problems, obviously.
However, with the many debian problems I've faced due to incompatible hardware, thankfully net connection hasn't been a problem.

The thing with linux is that everyone can have a completely unique OS setup with their hardware. Even the linux kernel can be modified. So it's gonna be difficult to troubleshoot. But at the same time - no viruses!

Last edited by Higgsboson; 02-29-2016 at 06:47 PM.
 
Old 02-29-2016, 06:45 PM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,750

Rep: Reputation: 684Reputation: 684Reputation: 684Reputation: 684Reputation: 684Reputation: 684
From a terminal
Code:
apropos ip address
Then if you know what command to use but don't know how to use it or what options to use
Code:
man chmod
Replace 'chmod' with the command you want info about.
Book wise, Linux In A Nutshell, expensive but ibvaluable when your starting out, my copy is extremlybdog eared and taty now.
 
3 members found this post helpful.
Old 02-29-2016, 06:50 PM   #6
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Original Poster
Rep: Reputation: Disabled
No.
I am looking for command line tool to suggest commands to use when given some search description.

Looks like the closest we can get now is :
apropos - search the manual page names and descriptions


But you get a yuuuge amount of useless data....

$ apropos ip address | wc -l
586

Last edited by fanoflq; 02-29-2016 at 07:01 PM.
 
Old 02-29-2016, 06:53 PM   #7
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,750

Rep: Reputation: 684Reputation: 684Reputation: 684Reputation: 684Reputation: 684Reputation: 684
Apropos is the nearest thing to that, or google.
 
Old 02-29-2016, 06:58 PM   #8
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,874
Blog Entries: 2

Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Not quite Alt + F2 and\or Tab completion, the man pages often give suggestions but try this on for size:
Code:
apt-cache search yourKeyword
Aptitude can search apps too.
 
Old 02-29-2016, 07:13 PM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ Win10
Posts: 9,502

Rep: Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035
Quote:
Originally Posted by fanoflq View Post
No.
I am looking for command line tool to suggest commands to use when given some search description.

Looks like the closest we can get now is :
apropos - search the manual page names and descriptions


But you get a yuuuge amount of useless data....

$ apropos ip address | wc -l
586
that's why I suggested. buy a used book, to save money. Because you'll be hard pressed to find a tool that will tell you what commands to use on the command line. Because they're are just too many "tools" that use the command line to begin with, as well as how would this magic program know what you have installed on your system?

it's a great idea though, maybe that could be a nice project for you. Write such a program to do just that.
all the tools to do such a thing as that are free and available.
 
Old 02-29-2016, 07:21 PM   #10
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,874
Blog Entries: 2

Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Thumbs up

A book is a good idea, someone suggested here as well: http://www.linuxquestions.org/questi...et-4175573362/

the package manager has descriptions you can search through.
 
Old 02-29-2016, 07:34 PM   #11
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I wrote my own about 8 years ago.
It searches over 44 Linux-specific sites for the search term.
You're welcome to use it,

Until the wheels fall off.

Last edited by Habitual; 02-29-2016 at 07:37 PM.
 
2 members found this post helpful.
Old 02-29-2016, 08:17 PM   #12
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,750

Rep: Reputation: 684Reputation: 684Reputation: 684Reputation: 684Reputation: 684Reputation: 684
Quote:
Originally Posted by jamison20000e View Post
Not quite Alt + F2 and\or Tab completion, the man pages often give suggestions but try this on for size:
Code:
apt-cache search yourKeyword
Aptitude can search apps too.
apt is debian specific the OP doesn't specify his distro/package manager.
 
Old 02-29-2016, 08:22 PM   #13
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,874
Blog Entries: 2

Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Ubuntu logo.
 
Old 02-29-2016, 09:00 PM   #14
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,860
Blog Entries: 36

Rep: Reputation: 459Reputation: 459Reputation: 459Reputation: 459Reputation: 459
Oft used commands are typically from the coreutils package. The coreutils manual breaks down by what you want to accomplish. Manual is typically installable in a package.

grep -irl "search term" /usr/share/man is another search method.
 
2 members found this post helpful.
Old 02-29-2016, 09:11 PM   #15
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ Win10
Posts: 9,502

Rep: Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035Reputation: 2035
Quote:
Originally Posted by sag47 View Post
Oft used commands are typically from the coreutils package. The coreutils manual breaks down by what you want to accomplish. Manual is typically installable in a package.

grep -irl "search term" /usr/share/man is another search method.
Emailed that one to myself even.

Thanks for sharing!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Search tools (Affinity, Tracker Search Tool, etc.) not working - don't find any files Adamantus Linux - Newbie 1 03-30-2009 12:21 AM
where is search tool in Linux ? lomnhom Linux - Desktop 5 10-31-2006 11:05 PM
Linux Search Tool superdude_876 Linux - Software 1 11-30-2005 08:03 PM
How about a search course for newbies? jwsmi LQ Suggestions & Feedback 30 08-18-2005 03:04 PM
Great Help Tool for Newbies mikeCanada Linux - Newbie 1 07-15-2004 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration