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
- January 18, 2012 -- How to properly remove vSphere datastores
- January 17, 2012 -- StarWind Releases iSCSI SAN Software Enhanced by VM Backup Technology
- December 23, 2011 -- Veeam Offers Free NFR License for Backup & Replication v6
- November 9, 2011 -- What Does ESX Mean To You?
- October 27, 2011 -- VMware vSphere 4.1 Update 2 Released
- October 4, 2011 -- VMTurbo Q4 Release Assures Quality of Service for Apps in the Cloud
- October 4, 2011 -- StarWind Software Inc. Announces Opening of German Office
- October 3, 2011 -- SRM 5.0 Replication Bits and Bytes
- September 19, 2011 -- Professional VMware BrownBag Group Learning
I’ve been using this for ages, I love this little tweak! Makes life a lot easier when troubleshooting.