-   Linux - Newbie (
-   -   root@darkstar:~$ (

Deruwyn 10-31-2004 03:40 PM

Hey, I just installed Slackware Linux 10.0 on my laptop(IBM Thinkpad 600x for those who like to keep track of compatibility).

My question is pretty simple. I get root@darkstar~$ as my prompt and i am wondering what signifigance the @darkstar part has and if i can change that.


qwijibow 10-31-2004 03:51 PM

root means your loged in as root, and darkstar is the name of your machine.
and the @ means AT... like, Chris@Home. or Fun@TheBeach lol...

anyways... you can change the hostname in /etc/hosts
the format is self explanitory.

Deruwyn 10-31-2004 04:00 PM

I see many files in /etc called 'hosts'. Which one do I need to change?

robert644 10-31-2004 04:02 PM

darkstar is the name of patrik volkerding's computer domain or some such thing like that.

i have heard slackware referred to as a copy of patrik volkerding's hard drive (i.e. not a real distro)

twilli227 10-31-2004 05:07 PM

Run this command as root: updatedb
this will update your database.
Type this command:man hostname
to find out how to change your hostname.
Type this command after updatedb: locate hostname
to find out were hostname is located.

Netizen 10-31-2004 05:29 PM


Originally posted by Deruwyn
I see many files in /etc called 'hosts'. Which one do I need to change?
There is only one 'hosts'. You need to edit 'hosts' to change the computer name. there are toher files that have 'hosts' in the name, but you want to edit 'hosts'.

Tinkster 10-31-2004 05:52 PM

/me coughs ... "Excuse me guys, but that's /etc/HOSTNAME, not /etc/hosts"


All times are GMT -5. The time now is 12:38 PM.