You are not logged in.
Pages: 1
Hey,
I want to have user@machine$ in the beginning of the command line. Now I have sh-4.3$ and it doesn't change to current folder.
Any suggestions?
Thanks
Offline
Do you want to change the title as the thread title indicates, or the prompt, as your description indicates?
In either case, these are both very well documented. What searches have you done? What have you already tried?
-- mod note: moving to Nebie Corner.
EDIT: The following wiki pages are linked from the "General Recommendations" page which is suggested reading at the end of the Beginner's Guide:
https://wiki.archlinux.org/index.php/Color_Bash_Prompt
https://wiki.archlinux.org/index.php/Zsh#Prompts
Depending on which goal you are actually going for, the following search may also be useful
https://duckduckgo.com/?q=terminal+title+linux
Please note that you really should do your own searches before asking something here that is very well documented all over the web.
Last edited by Trilby (2014-07-21 22:10:41)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1