Sponsored Content
Operating Systems Linux how to change hostname permanentaly Post 302127449 by useless79 on Wednesday 18th of July 2007 04:38:32 AM
Old 07-18-2007
how to change hostname permanentaly

i want to change my hostname permanentaly in my Fedora core 6.
could any one tell me how it is possible ....
 

10 More Discussions You Might Find Interesting

1. IP Networking

How to change hostname and ip in solaris

Dear all, I am going to change the IP address and hostname in my solaris, but I don't know how to do it. If you have any idea or suggestion, please fell free to let me know. Thanks and Regards (2 Replies)
Discussion started by: PennyLi
2 Replies

2. UNIX for Dummies Questions & Answers

change hostname

Hi, ( running solaris 8 ) I know how to change the hostname temparily, by login in as root typing hostname = xxxxx but, this obviously goes when the system is rebooted. I'm not sure what files need changing to make this a permant change. Could anyone help me please? (9 Replies)
Discussion started by: fishman2001
9 Replies

3. UNIX for Advanced & Expert Users

Change of Hostname

Dear All. I will like to know beside the following command "hostname hostname" what other command that can change the hostname of the Unix. Thanks. (4 Replies)
Discussion started by: gelbvonn
4 Replies

4. HP-UX

Change IP and Hostname

Hello.. I wanted to know how to change IP and Hostname on HPUX system, and I don't want to make it as NIS master either. Could someone tell me the files I need to modify and make sure it's on network? Thanks! :o (3 Replies)
Discussion started by: catwomen
3 Replies

5. UNIX for Dummies Questions & Answers

change hostname

Hi, I asked this question whenI was running solaris 8 and got some very good answers. I've just uograded to Solaris 10 and there seems to quite a few changes so I need to know again. https://www.unix.com/showthread.php?t=8547 ------------ Hi (now solaris 10) I know how to change the... (2 Replies)
Discussion started by: fishman2001
2 Replies

6. UNIX for Dummies Questions & Answers

Solaris - unknown hostname - how can I change hostname?

Hello, I am new to Solaris. I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies

7. Solaris

Change hostname in Solaris 9

Please anyone guide me how to change the hostname in Solaris 9? The IP of the machie is fetched from a DHCP server. (6 Replies)
Discussion started by: shabu
6 Replies

8. Red Hat

Change hostname

Hello, I would like to change the hostname on a Linux server (RHEL4). I try different methods in vain : - by using hostname command - by changing /etc/hosts and /etc/hostname But after restarting server, the old hostname re-appears... :confused: And the file ./proc/sys/kernel/hostname... (3 Replies)
Discussion started by: madmat
3 Replies

9. UNIX for Dummies Questions & Answers

Change HostName

How to change host name in NCR Unix version 3.0 release 4.0 I got the OS version and OS release from executing uname -v and uname -r (9 Replies)
Discussion started by: nalina
9 Replies

10. Solaris

change hostname in SUNOS 5.10

What file I need to edit if I need to change hostname in SUN OS 5.10 Please advice ....... (1 Reply)
Discussion started by: chuikingman1
1 Replies
OSINFO-QUERY.C(1)					      Virtualization Support						 OSINFO-QUERY.C(1)

NAME
osinfo-query - Query information in the database SYNOPSIS
osinfo-query [OPTIONS...] TYPE [CONDITION-1 [CONDITION-2 ...]] DESCRIPTION
The "osinfo-query" command allows extraction of information from the database. TYPE can be one of "os", "platform", "device", or "deployment". With no conditions specified, all entities of the given type will be listed. # List all operating systems $ osinfo-query os Short ID | Name ... ----------------------+----------- centos-6.0 | CentOS 6.0 ... centos-6.1 | CentOS 6.1 ... ... Conditions allow filtering based on specific properties of an entity. For example, to filter only distros from the Fedora Project, use # List all operating systems $ osinfo-query os vendor="Fedora Project" Short ID | Name ... ----------------------+-------------- fedora1 | Fedora Core 1 ... fedora2 | Fedora Core 2 ... ... The set of fields which are printed can be controlled using the "--fields" command line argument: # List all operating systems $ osinfo-query --fields=short-id,version os vendor="Fedora Project" Short ID | Version ----------------------+---------- fedora1 | 1 fedora2 | 2 ... OPTIONS
-s PROPERTY, --sort-key PROPERTY Set the data sorting key. Defaults sorting the first column -f PROPERTY1,PROPERTY2,..., --fields PROPERTY1,PROPERTY2,... Set the visibility of properties in output PROPERTY NAMES
OS Valid property names for the "os" type are: short-id The short OS identifier name The long OS name version The OS version string family The OS kernel family vendor The OS vendor release-date The OS release date eol-date The OS end-of-life date codename The OS code name id The OS identifier PLATFORM Valid property names for the "platform" type are: short-id The short platform identifier name The long platform name version The platform version string vendor The platform vendor release-date The platform release date eol-date The platform end-of-life date codename The platform code name id The platform identifier DEVICE Valid property names for the "device" type are: name The device name product The device product name product-id The device product ID string vendor The device vendor name vendor-id The device vendor ID string class The device type class bus The device bus type id The device identifier DEPLOYMENT Valid property names for the "deployment" type are: id The deployment identifier EXIT STATUS
The exit status will be 0 if matching entries were found, or 1 if not matches were found SEE ALSO
"osinfo-db-validate(1)", "osinfo-detect(1)" AUTHORS
Daniel P. Berrange <berrange@redhat.com> COPYRIGHT
Copyright (C) 2012 Red Hat, Inc. LICENSE
"osinfo-query" is distributed under the termsof the GNU LGPL v2+ license. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE libosinfo-0.2.7 2013-02-06 OSINFO-QUERY.C(1)
All times are GMT -4. The time now is 05:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy