Ok... i'm lost

Don´t be shy, Linux is fun! =)
Post Reply
User avatar
Nerdz
The Architect
The Architect
Posts: 1127
Joined: 15 Jun 2005, 16:00
15
Location: #db_error in: select usr.location from sucko_member where usr.id=63;
Contact:

Ok... i'm lost

Post 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...
Give a man a fish, you feed him for one day.
Learn a man to fish, you feed him for life.

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11566
Joined: 06 Apr 2005, 16:00
16
Location: The zone.
Contact:

Post 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:

User avatar
Nerdz
The Architect
The Architect
Posts: 1127
Joined: 15 Jun 2005, 16:00
15
Location: #db_error in: select usr.location from sucko_member where usr.id=63;
Contact:

Post by Nerdz »

Thx. You are now my new Linux mentor:P
Give a man a fish, you feed him for one day.
Learn a man to fish, you feed him for life.

User avatar
Nerdz
The Architect
The Architect
Posts: 1127
Joined: 15 Jun 2005, 16:00
15
Location: #db_error in: select usr.location from sucko_member where usr.id=63;
Contact:

Post by Nerdz »

I did this in the terminal and i got that: updatedb: fatal error: updatedb: create_db(): rename: No such file or directory
Give a man a fish, you feed him for one day.
Learn a man to fish, you feed him for life.

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11566
Joined: 06 Apr 2005, 16:00
16
Location: The zone.
Contact:

Post 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:

Post Reply