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 05-28-2004, 05:19 AM   #1
Registered: May 2004
Posts: 32

Rep: Reputation: 15
how to find out machine name??

How does one find out the machine name using a command from the terminal? I need to know this when I install Qmail.

Any help would be greatly appreciated.
Old 05-28-2004, 05:30 AM   #2
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
Hi samills70,
I think what you are looking for is the command hostname.

As easy as that. Good luck,
- drowstar

maybe you want the command uname -a. Returns a lot of valuable information.
Old 05-28-2004, 05:42 AM   #3
Registered: May 2004
Posts: 32

Original Poster
Rep: Reputation: 15

thanks worked like a charm, after a while searching around the net I also found the site with a list of commands for the bash shell which I suppose most peole use. Very useful.


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
How can I find the mandrake version of my machine ? markraem Mandriva 4 10-19-2005 02:52 AM
How to I find my machine name (in SuSE 9.2)? DeekBeek Linux - Newbie 2 07-11-2005 02:49 PM
how do you find and change machine name Doug.Gentry Mandriva 2 03-31-2005 09:37 AM
How do I find out what architecture a machine has? amp2000 Linux - General 11 12-05-2003 06:42 AM
I can't find a compiler on my machine mjkramer Linux - Newbie 8 10-13-2003 01:24 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:08 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