ESX configuration script – display full path in COS
October 25th, 2008 by jason
Leave a reply »
MS-DOS old timers should appreciate this. I’ve been using this snippet for a few years in my ESX host deployment scripts.
ESX script to display the full path in COS
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.
Related Posts
- November 2, 2008 -- 63% not utilizing Resource Pools
- March 3, 2010 -- 11 New ESX(i) 4.0 Patch Definitions Released; 6 Critical
- February 21, 2010 -- RVTools 2.8.1 Released
- February 7, 2010 -- Preferential Treatment for DPM Hosts
- February 4, 2010 -- Configure VMware ESX(i) Round Robin on EMC Storage
- January 25, 2010 -- Service Console Directory Listing Text Color in PuTTY
- January 11, 2010 -- VMware VI3 Implementation and Administration
- December 30, 2009 -- ESX 3.5.0 Update 5 Change in Serivce Console Memory
- December 5, 2009 -- VMware Releases ESX(i) 3.5 Update 5; Critical Updates
- November 19, 2009 -- vSphere 4 Update 1 Released
I’ve been using this for ages, I love this little tweak! Makes life a lot easier when troubleshooting.