How can I hide username and computer in terminal command prompt?
In Terminal it says
Last login: Mon Jan 13 00:00:14 on ttys000 Whatever:~ UserName$
Is it possible to show just the current folder and
Change your prompt in your ~/.bashrc file. The example you asked for would be:
It would result in the current folder you're in being shown plus a $ for the regular prompt and a # if you're root. Check out this guide for more examples of what you could show in your prompt.
This will leave just
Check out this tutorial on how to change your bash prompt.
A very short version (only username and no current path):