LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   root@darkstar:~$ (http://www.linuxquestions.org/questions/linux-newbie-8/root%40darkstar-%7E%24-249552/)

Deruwyn 10-31-2004 02:40 PM

root@darkstar:~$
 
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.

Cheers!

qwijibow 10-31-2004 02: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 03:00 PM

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

robert644 10-31-2004 03: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 04: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 04:29 PM

Quote:

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 04:52 PM

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



Cheers,
Tink


All times are GMT -5. The time now is 04:25 PM.