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! |
do you mean this name?
cat /etc/sysconfig/network | grep HOSTNAME |
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 ;)
|
At the command line, type: hostname
|
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 02:52 AM. |