LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

Rep: Reputation: 0
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!
 
Old 10-31-2004, 02:51 PM   #2
qwijibow
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, 03:00 PM   #3
Deruwyn
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, 03:02 PM   #4
robert644
Member
 
Registered: Aug 2004
Location: internet
Distribution: slackware
Posts: 125

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, 04:07 PM   #5
twilli227
Member
 
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, 04:29 PM   #6
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

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

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



Cheers,
Tink
 
  


Reply


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 01:02 AM
Darkstar Login Bengooch7 Linux - Newbie 6 04-24-2005 08:54 AM
What's darkstar? jimothy05 Slackware 5 09-27-2004 03:55 AM
darkstar:~# wantlinux Linux - General 7 11-04-2003 07:09 AM
darkstar login? BmxFace Slackware 6 07-04-2003 04:36 PM


All times are GMT -5. The time now is 08:53 AM.

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