Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I like having google desktop search on my work computer, but could use it even more on my linux computer. I know "slocate -u" will create an index of my files and slocate -i filename will conduct a search for a file. slocate is also lightning fast. Is there a linux version of google desktop search that uses slocate?
Or, is there a way to send slocate output to html format?
If not, could someone put one together? Not much of a task for a hot-shot programmer, but it would be of great use.
if [ -z $1 ]; then
echo "Usage: $(basename $0) <searchterm> [outputfile.html]"
if [ ! -z $2 ]; then
$1 >> $2
wrap "echo <html><head><title>locate results</title></head><body><pre>" $2
wrap "locate $1" $2
wrap "echo </pre></body></html>" $2
Simple and dirty as turkey beef.. Works, but thats all I can promise for it. Save it in a file, make it executable and run. if you dont give an output file, youll get in out as standard output. It totally beats me why you'd want it out as html, but thats not my place to ask.. (;
Well, its easy adding a few more echoes to the code to construct a fancier page, or just implement the whole damn thing as php.. That would actually be pretty cool.. A localhost webpage to run locate, find and so on on your own computer..
I might just implement this and report back when its done.. (;
ive never seen this google desktop search, so a few details wouldnt hurt.. (:
There seem to be several implementations already: Beagle and Kat
But basing on my own tests of them, they seriously suck. Beagle has weird kernel dependncies, and crashes alot (official suse 9.3 pro packages.. /: ) And Kat was a pain to install on anything else than Mandriva, and still it didnt deliver what it promised.
So, some definate improvement is still needed before id recomend those to anyone.
its there in the code actually incase you missed it.. (: My logic behind it is pretty simple, it figures wether we were given a file parameter and if not, prints directly to stdout, otherwise to the file. Kinda useless now that I think of it, but aaaanyways (:
I Think there is a valid need for a google desktop search clone in Linux. Here is your chance to make your mark in the Linux World Artanicus (if you haven't already). It would be a great contribution. Let me know if you are interested. I run a server if you need a development space w/ CVS & FTP. I would be glad to sponsor!