FG
💻 Software

Why does my Linux prompt show a $, instead of the login name and path?

Fresh5 days ago
Mar 15, 202671928 views
Confidence Score0%
0%

Problem

On one of my servers, the prompt is [user@host path]...and I can actually push "tab" to auto-fill the path. But on my new Ubuntu server, it is just a dollar sign?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why does my Linux prompt show a $, instead of the login name and path?

Low Risk

Since you are asking two questions, I'll answer both. Why doesn't tab autocomplete file paths? Because you shell either doesn't support it, or tab completion isn't turned on. To resolve this, you first need to discover what your shell is. On the mac…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment