LinuxQuestions.org
Register a domain and help support LQ
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 03-23-2004, 07:21 PM   #1
AndreL
Member
 
Registered: Feb 2004
Distribution: RH 7.3
Posts: 56

Rep: Reputation: 15
Post Whats the name of my PC


how can I find the name of my pc
 
Old 03-23-2004, 07:25 PM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
run 'hostname'
 
Old 03-23-2004, 07:26 PM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
look at the prompt, it should be something like

[root@hostname /root]#

or the login prompt

Red Hat Linux release 7.2 (enigma)
Kernel 2.4.24 on an i686

hostname login:

or the GUI login

welcome to linux at hostname:

or at the prompt type 'hostname' (as root)
 
Old 03-23-2004, 07:36 PM   #4
kobs
Member
 
Registered: Mar 2004
Location: 127.0.0.1
Distribution: FreeBSD 5.3-STABLE, Slackware 10-CURRENT, Debian Sarge
Posts: 51

Rep: Reputation: 15
cat /etc/hostname
 
  


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
whats this mean? slinky2004 Linux - Newbie 3 10-09-2005 01:04 PM
whats next wesw02 Linux - Newbie 4 12-28-2004 01:17 PM
whats up with this?? A.D.D. Linux - Newbie 4 10-08-2004 02:47 AM
Whats this butface Linux - Newbie 4 08-25-2003 04:41 PM
So whats all this mean to me? WeNdeL Linux - Security 1 12-16-2002 11:02 AM


All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration