Forum Discussion
Bob_M_10973
Nimbostratus
Mar 25, 2009shell on F5 does not respond as normal shell
I would search the forums for this but the hyperlinks returned upon searches don't work..
This link:
http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/LTM_Backup_Shell_S...
hoolio
Cirrostratus
Mar 25, 2009The 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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects