Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
This is a bit of a long shot and I think the answer will be no but I thought I'd ask just in case.
I have a number of tutorials in html but I want to be able to search for particular information in these files and display that information in the terminal rather than having to go through a browser. Apart from using grep which gives a pretty messy display or having to write a a specially Bash or python script, is there any command line tools that can provide such a function?
Hard to know exactly what you mean, but you could use a text-mode browser like links or lynx. You haven't said what existing infrastructure there is, but I assume it must be working within the context of a conventional web browser. If there is a URL from which you fetch search results via HTTP, you could contrive a scripted application that fetches from the HTTP server and presents the results in a text console. Perl would be my weapon of choice for that, but as I understand it, other languages like Python, Ruby, etc. all have support modules for sending HTTP requests and handling the replies.
Apologies theNbomr for not making myself clearer. I should have explain more clearly why I require this.
What I am looking for is an application that can search through HTML files stored on my PC. Is there any command line apps like that or would I have to write one myself?
There are primitive search engines which you can use to periodically index your web site (I know, it isn't really a web site). Using a text-mode browser (any browser, really), you should be able to browse the results.
The trick is that you would need something that generates static pages, unless you are also going to run a web server to produce replies to searches.
I had hoped for an easy answer to this but I'm beginning to prefer the outcome.
I've learned a little about a command line and a project to create a sort of command line search facility would be an ideal way to improve on it. This could be written using Bash shell script that uses Grep, Sed, Awk and possibly ncurses as a front end. When I get some time, I'm going to look into it a bit more.