Forum Discussion
hooleylist
Mar 25, 2009Cirrostratus
The hostname command was changed in 9.4.2+ to an annoying alias suggesting you use the 'b system hostname' command to change the hostname. You can avoid this by using the full path for the real hostname command '/bin/hostname' or by using 'command hostname':
[me@ltm:Active] ~ uname -a
Linux ltm.example.net 2.4.21-9.4.6.401.0smp 2 SMP Fri Oct 31 08:15:59 PDT 2008 i686 i686 i386 GNU/Linux
[me@ltm:Active] ~ hostname
Use the bigpipe shell utility to make changes to the system configuration.
For more information, see "bigpipe system help."
[me@ltm:Active] ~ /bin/hostname
ltm.example.net
[me@ltm:Active] ~ command hostname
ltm.example.net
I updated cmbhatt's script to use /bin/hostname as it's a bit shorter and more intuitive than command hostname.
I'm not sure what the problem is with forum searches. Any DC admin able to take a look?
Aaron