0

I'm trying to figure out what this (obretschlt2-w7) is, from my command-line prompt. I'm using a conda environment, with the name µ_env, with my Username mu. However I can't figure out where the 2nd field is coming from. I'm logged into a secure server VPN, through my work, but I don't ever recall seeing this. What is this name and where is it coming from?

(µ_env) obretschlt2-w7:~ mu$ pwd
/Users/mu

Output from echo $PS1, as asked for (in comment).

(µ_env) \h:\W \u\$
ctrl-alt-delor
  • 27,473
  • 9
  • 58
  • 102
O.rka
  • 103
  • 3

1 Answers1

0

Is that not your hostname on your system?

Try:

cat /etc/hostname

Edit:

$ echo $PS1 (µ_env) \h:\W \u\$

\h means hostname

Source: wiki.ubuntuusers.de/Bash/Prompt


Command "hostname" may also show your hostname

User8461
  • 134
  • 5