How do i know what my computer name is?
hi,
How can i find out what my linux machine's name is? I have the internal ip but whats the computer name? Does linux have the equivalent of windows "workgroup"? The reason i need this is because my new router doesnt have loopback so i cant use ip addresses to do port forwarding. I would have to know the name. According this this guy: Here Thanks |
uname -a
Actually just 'uname -n' for the name only... |
or just type; hostname
|
or usually the stuff after the @ in your prompt.....
|
Thanks a lot everyone. I tried all three ways out of curiosity and yes your all right. ;)
Thank you. |
All times are GMT -5. The time now is 09:18 PM. |