0
votes
1answer
55 views

What 016 017 in bash prompt, how can I make it correct in Terminal

I saw a beautiful bash prompt here PS1="\n\[\e[30;1m\]\[\016\]l\[\017\](\[\e[34;1m\]\u@\h\[\e[30;1m\])-(\[\e[34;1m\]\j\[\e[30;1m\])-(\[\e[34;1m\]\@ ...
3
votes
1answer
1k views

Ubuntu 12.10 - How to change login screen to allow login to active directory domain

So, I have an Ubuntu 12.10 machine that has been joined to an active directory domain. However, when the machine turns on and I am presented with a login screen, I cant just type DOMAIN\user. All ...
4
votes
1answer
901 views

Change hostname and prompt in OS X terminal

On a Mac the hostname and prompt is: workstation:~ thomas$ On Ubuntu Linux it would be: thomas@workstation:~$ How can I make the OS X prompt look like the Ubuntu one?
1
vote
1answer
347 views

Bash prompt breakdown

Can anyone explain the Ubuntu's bash prompt? It's basically username@box:~$ but the part that confuses me is $. Is it just a letter that can be of preference, or it has some actual meaning?
1
vote
1answer
529 views

ANSI prompts messed in Ubuntu 10.04 terminal window (Unicode 0002), but ok in Putty

My bash prompt is: PS1='\e[1;31m\]\[\u\e[0m\]@\h [\e[1;33m\]\w\[\e[0m\]]\$ ' (reddish username, yellowish current directory). If I connect with Putty from a Windows machine, everything is fine. If ...
2
votes
2answers
2k views

Default prompt for Zsh in Ubuntu

How can you get the prompt "/home/user@address:/path" for Zsh? I run the following unsuccessfully in my .zshrc PROMPT='%d%>:%{\e[0m%} ' I get as my prompt /home/masi