Thursday, October 28, 2010

ESX script to display the full path

ESX script to display the full path in the Service Console
Example:
In your ESX console, instead of seeing this:
[root@host vmware]#
You’ll see this:
[root@host /etc/vmware]#
Paste the following into PuTTY on your ESX host:
mv /etc/bashrc /etc/bashrc.old
sed -e “s/\\h \\\W/\\h \\\w/g” /etc/bashrc.old > /etc/bashrc
Close your PuTTY session and re-open to see the change take effect.
More vQuotes

No comments:

Post a Comment