1

The computer name is displayed as "unknown-" at the command prompt. How do I change this?

slhck
  • 235,242

1 Answers1

1

This can be done through

sudo hostname new_name

If new_name contains single quotes, then it should be surrounded with double quotes.