PS1

From OpenVZ Virtuozzo Containers Wiki
Revision as of 19:28, 2 June 2008 by Mrjcleaver (talk | contribs) (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]\$")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

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