Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-28-2003, 01:52 PM
|
#1
|
LQ Newbie
Registered: Apr 2003
Posts: 9
Rep:
|
How to find a name of Linux box!
Hi, everyone!
I have a newbie question:
How to find a name of Linux box?
I'm installing a samba server and I need a name of linux box to add to the other w2k box!
Thx in advance!
|
|
|
08-28-2003, 01:55 PM
|
#2
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
do you mean this name?
cat /etc/sysconfig/network | grep HOSTNAME
|
|
|
08-28-2003, 02:29 PM
|
#3
|
Member
Registered: Aug 2003
Location: Arizona
Distribution: Gentoo
Posts: 142
Rep:
|
To find the name for SMB its in the smb.conf file. there is a entry that says "netbios name=" thats where you can find it 
|
|
|
08-28-2003, 02:55 PM
|
#4
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
At the command line, type: hostname
|
|
|
08-28-2003, 03:07 PM
|
#5
|
LQ Newbie
Registered: Apr 2003
Posts: 9
Original Poster
Rep:
|
Thx guys, the command hostname showed me the exact name like the w2k machine when connected the linux machine on network!
I really do not understand why when I connect to Linux box like a root the command in shell is like this
"linux:/" and this is the machine name. I was expecting more the invitation like "root:/"
thx again!
|
|
|
All times are GMT -5. The time now is 08:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|