November 21, 2024

VMware: Full path in ESX 2.5/3.0 Service Console

This is an old post, but I redid the blog…
Not sure how many of you use PuTTY and the COS, but I figured I’d post this tidbit.

I got tired of looking at just
[root@host log]# for my prompt.
Showing only my current directory

I would rather have
[root@host /var/log]#
Which shows the full path

You can modify the /etc/bashrc file ( back it up first!!!) to change this.

Look for this line in the /etc/bashrc file:
[ “$PS1” = “\s-\v\$ ” ] && PS1=”[u@h W]\$ “

Change it to:
[ “$PS1” = “\s-\v\$ ” ] && PS1=”[u@h w]\$ “

Notice the uppercase “W” became a lowercase “w”. Save the file and log off/log on. Look at your prompt. Now, I have no questions as to which directory I’m in.

Here’s a link to the original post: http://www.vmware.com/community/thread.jspa?messageID=211436&211436

Posted by Jase to Computer Stuff at 3/16/2006 02:19:11 PM

2 thoughts on “VMware: Full path in ESX 2.5/3.0 Service Console

  1. Hello,

    I am looking for an evaluation copy for ESX server 2.5.x, i tried using the login account with vmware , however i am not allowed to download ESX server 2.5.x, and i need this version only, as my old hardware is supported in it, and not in latest versions like 3, 3.5…etc.

    Can you please help me with the link, i just need a demo/eval copy, not any cracked/pirated ones.

    Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.