Difference between revisions of "PS1"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(New page: If you want to show the current VEID in your unix prompt: export PS1="[\u@\h(\`cut -d' ' -f8 < /proc/vz/veinfo\`) \w]\$")
(No difference)

Revision as of 19:28, 2 June 2008

If you want to show the current VEID in your unix prompt:

 export PS1="[\u@\h(\`cut -d' ' -f8 < /proc/vz/veinfo\`) \w]\$"