Page 1 of 1

Ok... i'm lost

Posted: 02 Feb 2006, 20:43
by Nerdz
I've just installed Linux red hat 9. Where is everything? I tought i had install a bunch of network stuff like audit etc... Where is it!? I saw there was suppose to be like ethereal but i can't find a folder where the network stuff are...

Posted: 03 Feb 2006, 07:25
by bad_brain
don´t panic... :wink:
it makes no sense searching the folders, working in a shell is much better.
so first update the database, so you´re able to search for files, just type

Code: Select all

updatedb
you should do this regularly to keep the database up to date.
now lets say you´re looking for ethereal, you can search the database with

Code: Select all

whereis ethereal

or

locate ethereal
whereis will show you the binaries, locate show all files which include the name ethereal, I use locate. you can also use wildcards if you´re not really sure about the name:

Code: Select all

locate eth*

or

locate e??ereal
normally you can start an application in a shell simply by typing the name. but in RedHat it´s not ethereal, it´s named tethereal. nmap should be installed too, simply type nmap to start it.

well, if you have problems to handle an application simply view the manual by using the man command, for example

Code: Select all

man tethereal
another really useful application is up2date which enables you to download and install the newest RPM versions.

:wink:

Posted: 03 Feb 2006, 07:51
by Nerdz
Thx. You are now my new Linux mentor:P

Posted: 03 Feb 2006, 12:12
by Nerdz
I did this in the terminal and i got that: updatedb: fatal error: updatedb: create_db(): rename: No such file or directory

Posted: 03 Feb 2006, 13:41
by bad_brain
You might look in your /etc/crontab file. there is usually a PATH statement
there. compare that path statement with a "whereis updatedb", to
ensure that the location for the file is in the path.
just like the environment variables in Windows... :wink: