Unix Blog

Tuesday, November 1, 2011

hostname

Change hostname in Redhat
# echo mynewhostname > /proc/sys/kernel/hostname
# /etc/init.d/network restart
# hostname

Get short name
# hostname -s

posted by Jayanthi Krishnamurthy @ 4:52 AM   0 Comments

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home

Newer›  ‹Older

About Me

Name: Jayanthi Krishnamurthy

View my complete profile

Posts

  • hostname

Older Posts Newer Posts

Archives

Subscribe to
Posts [Atom]