Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 10-31-2004, 03:40 PM   #1
LQ Newbie
Registered: Oct 2004
Location: Nova Scotia, Canada
Distribution: Slackware 10.0
Posts: 3

Rep: Reputation: 0

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.

Old 10-31-2004, 03:51 PM   #2
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
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.
Old 10-31-2004, 04:00 PM   #3
LQ Newbie
Registered: Oct 2004
Location: Nova Scotia, Canada
Distribution: Slackware 10.0
Posts: 3

Original Poster
Rep: Reputation: 0
I see many files in /etc called 'hosts'. Which one do I need to change?
Old 10-31-2004, 04:02 PM   #4
Registered: Aug 2004
Location: internet
Distribution: slackware
Posts: 133

Rep: Reputation: 15
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)
Old 10-31-2004, 05:07 PM   #5
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
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.
Old 10-31-2004, 05:29 PM   #6
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
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'.
Old 10-31-2004, 05:52 PM   #7
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware "root@darkstar" A2TheRizzo Slackware 6 10-31-2005 02:02 AM
Darkstar Login Bengooch7 Linux - Newbie 6 04-24-2005 09:54 AM
What's darkstar? jimothy05 Slackware 5 09-27-2004 04:55 AM
darkstar:~# wantlinux Linux - General 7 11-04-2003 08:09 AM
darkstar login? BmxFace Slackware 6 07-04-2003 05:36 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration