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.
I'm not all that new to linux, but this is one I just can't seem to figure out. I've the man pages (man -k find, locate) but I can't seem to find anything. Doesn't seem to be any place intuitive in Gnome. I just need to know where some files are located.
Mind you if you can't find anything and you're very sure it should be there, try updating the database of your searchtool.
(in case of locate do 'updatedb')
It happened to me that I couldn't find a thing even though I was sure I had just installed it.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
find . -name filetosearchfor* -print
starts searching in the current directory through
all the subdirectories for the filenameyou specify.
I put the asterick in to show you can use wildcards.
find then where you want to start searching from
then what you want to search for
then what you want to do with the results.
locate uses a database that it makes and is much faster,
but may not be current. often locate updates its
database as a cron job in the background.
grep is for searching for text in a file or files
grep -r poo *
searches for poo all files in the current directory
you could go into your mozilla cache or cookies
and see if your credit card number was stored
grep -r 1234123412341234 *