The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
172 views

How can I install and use powerline plugin?

Powerline is a plug-in to display informational and beautiful statusline for vim, tmux and shell prompt for bash, zsh. Vim statusline: How can I install and setup Powerline for different ...
1
vote
0answers
76 views

Customize Ubuntu Login Screen

I have an Ubuntu 12.04 LTS server on which I installed Xubuntu desktop. I have some users in the server out of that I would like to set a user as a default user. How can I customize the login screen ...
3
votes
2answers
139 views

How can I shorten the bash prompt's current path to one letter per directory?

I can't remember where, but I've already seen the bash prompt's current path shortened in an interesting way: every directory contained in the path is replaced by its first letter only. For instance: ...
2
votes
1answer
97 views

Bash Prompt Changes Colors on ls

My prompt is: PS1="\`if [ \$? = 0 ]; then echo \[\e[33m\]':)'\[\e[0m\]; else echo \[\e[31m\]':('\[\e[0m\]; fi\` \e[0;1m\w\e[1m\n\$ " The problem is when I use ls, the prompt changes colors to the ...
3
votes
1answer
40 views

Correct place to put colors of prompt (PS1)

Say I want to change the colors of my PS1, or for the sake of simplicity I just want to change the content, so I want to do this: PS1="touch me : " My problem, doubt is: If I put this in ...
3
votes
2answers
127 views

Long lines overlap in Bash PS1 customized prompt

I have configured a fancy two-line PS1 bash prompt, with server name, time, user name and other useful variables. PS1="\n\[\033[1;34m\]\342\226\210\342\226\210 \u @ $SERVER_NAME""$BBlue"" ...
2
votes
1answer
38 views

Ubuntu Terminal Colouring

I got this snippet of code from @mdo (http://markdotto.com) and optimized it to Ubuntu. But now when I type something and erase with backspace, the whole line is erased. I don't know too much of bash ...
6
votes
0answers
118 views

command prompt suddenly starts with (base) [closed]

For seemingly no reason today my command prompt added (base) as a prefix. I didn't change the shell or anything else. Neither the .bashrc or /etc/bash.bashrc files have (base) anywhere. The command ...
1
vote
0answers
59 views

Being asked for password inspite of changing the sudoers file [closed]

I have included the following in the sudoers file using the visudo command training ALL=(ALL) NOPASSWD: ALL and training is part of the sudo group training@Slave1:~$ id uid=1000(training) ...
0
votes
2answers
67 views

When I switch to new user, I am unable to see the name in the prompt - Why?

I have just created a fresh installation of Ubuntu 12.10 I have created a www-data user account. When I switch to www-data, I cannot see www-data at the front of the prompt. What is the technical ...
1
vote
0answers
201 views

No WiFi Password set — yet Ubuntu continues to ask for one

My WiFi has no password, and yet Ubuntu continues to ask for one. On Windows on the same computer it works fine, and on other computers (that have Windows), it works fine -- it's only in Ubuntu that I ...
0
votes
0answers
133 views

Installing using Wubi on HP 2133 stuck at Busybox prompt

I am trying to install Ubuntu 12.04 LTS on my HP 2133 laptop using Wubi on Windows XP. However, when I boot from the Ubuntu OS, it says Preparing to finish Ubuntu installation, press ESC to select ...
5
votes
2answers
602 views

Where to learn GRUB commands?

First of all is the GRUB essential to have Ubuntu? If yes, where can I learn it's commands? It makes me dead when it stops booting Linux and displays dangerous prompts. And is there any good ...
3
votes
1answer
228 views

What does ' (single quote) do in the terminal?

If I type ' (single quote, next to the <enter> button) in the terminal and then press enter it drops to a > prompt. What exactly is this, what's it used for, and what type of commands can I ...
0
votes
1answer
135 views

Terminal not prompting properly on tab press [duplicate]

Possible Duplicate: Tab completion doesn't work for commands The installed packages prompt is working fine, eg, gedtab completes to gedit, but package autocomplete on apt-get is not ...
3
votes
1answer
125 views

.bashrc not responding

I'm having an odd problem with the .bashrc file. I've added the following line so git could show me the current branch on prompt (I saw this tip here) #Show branch in status line PS1='[\W$(__git_ps1 ...
0
votes
1answer
541 views

Completely eliminating all password prompt [duplicate]

Possible Duplicate: How to disable all password prompts? I've looked all over Google for a way to disable those annoying password prompts. So far the only one that's worked is editing the ...
0
votes
2answers
4k views

How to exit GRUB rescue prompt without live CD?

I have had Ubuntu 12.04 x86 (32-bit) for a while now and decided to erase it and reinstall it just to clear some memory and start over. I have performed this operation before and it worked fine, but ...
0
votes
1answer
85 views

Strange thing happening in command prompt

I'm using Ubuntu in command line mode, no GUI. I'm new to UNIX, so I'm a bit confused by something that just happened. I accidentally typed "suspend" instead of "pm-suspend", and my root~#: prompt ...
5
votes
1answer
2k views

How can I shorten my command line (bash) prompt?

Currently it is: michael@Castle2012-Ubuntu-laptop01:~/Dropnot/webs/rails_v3/linker/spec/controllers$ Outside of renaming my machine and directory structure... How could I make it be something ...
2
votes
1answer
2k views

~/.bashrc changes have no effect?

I have been trying to set some custom colors on the user@hostname:~$ on the terminal. I edited both ~/.bashrc and /etc/bash.bashrc Where it said: debian_chroot:+($debian_chroot... I just changed ...
5
votes
2answers
1k views

Changing colors for user/computer name and current directory in terminal

Is it possible to change the colors for the user@computer, the current directory and command parts of the terminal? I've already seen similar things with osx users, but I don't know how to do the same ...
0
votes
2answers
102 views

Prompt not working when logged in as specific user

Hello I am running ubuntu 11.10 and access it via ssh with putty. My problem is that when I log in I get the prompt username@server.com:~$ and my arrow keys do what the y are supposed to. When I ...
3
votes
1answer
605 views

Shell Prompt Customization?

I have used oh_my_zsh (and tinkered with bash_it) on multiple systems and have generally been happy with it, though I hate it's auto-correction feature and generally turn it off. My usual shell is ...
1
vote
2answers
1k views

How to Repair Grub while dual booting ( win7 / ubuntu 11.10)

I've installed windows 7 and then Ubuntu 11.10, and then set up everything on easyBCD. When I select Ubuntu on the boot menu, I end-up in grub prompt (like "grub>" in a black screen) instead of ...
1
vote
0answers
2k views

file not found grub rescue prompt [closed]

So, while programming today I got the terminal error saying that ls was not available and to type in some sudo command to get it. I typed in said sudo command and it told me that it didn't work. I am ...
1
vote
1answer
235 views

Terminal line glitches

I installed Ubuntu 11.10 mini + LXDE and wanted to make my command line different in terminal (than just plain white), so I added blue color to path line (everything until $ sign) and it works fine ...
3
votes
2answers
232 views

How to specifiy prompt location in terminal?

I am using GNOME 3.2 and my problem is that while working on terminal my prompt is usually at the bottom of screen. As GNOME notifications keep popping up on new mail, chat or song change, it becomes ...
0
votes
1answer
2k views

Can I revert an NVIDIA driver?

I tried to update to driver 286.05.09 (nvidia says these are the latest) and now I cannot log into ubuntu, is it possible to revert back to the recommended? The pic below is what I see, but I can ...
1
vote
1answer
206 views

How to interpolate a variable immediately after a `$` or `\$` in the bash prompt?

I am using this function: function test(){ local var="hello" PS1="\u\$$var" } The output I am trying to get from the function is john$hello. But what I get is just john. If I add a space ...
2
votes
1answer
427 views

Problem to write long lines in terminal

I have defined a PS1 prompt multi-line in my server with Ubuntu 11.04. The problem occurs when I write a long command, the line cuts before the end of terminal and it continues at beginning the same ...
13
votes
3answers
476 views

How (and where) can one change 'user@host $:' pattern in gnome-terminal?

When I start terminal in Ubuntu, I see: ilya@HOST:~$ I need to add a timestamp to this, something like: 2011-10-09T09:32:00 ilya@HOST:~$ How can I configure this?
3
votes
1answer
76 views

cursor stops in the middle after pressing home key

In terminal i've changed my PS1. I think it maybe causing issues with allowing me to hit the home button. Normally by hitting the home button it's suppose to return to the first character on the ...
1
vote
1answer
172 views

How do I prevent having to log in on 3 separate prompts every time I start my machine?

Ubuntu 11.04 Natty Narwhal, Ubuntu Classic desktop Each time I start my machine, I have to log in 3 times. I spent a week in IRC>Freenode>#ubuntu and got nothing but condescension. I've searched on ...
4
votes
1answer
250 views

Custom bash prompt is buggy

I followed some articles on how to change the prompt, I've got the result I was looking for, but when the cursor reach the end of the screen it doesn't go new line and tab completion it's strange. # ...
2
votes
1answer
196 views

Anomaly with bash PS1 definition

My root and admin user both have the same .bashrc file. The prompt section of the .bashrc is the following: if [ "$color_prompt" = yes ]; then ...
6
votes
4answers
2k views

trim the terminal command prompt working directory

When using the terminal in a deep folder structure sometimes the prompt can take up most of the line. Is there any way in which I can trim the working directory? I know I can do PS1="\W >" to only ...
6
votes
2answers
367 views

Add some default text to Ctrl-Alt-F1 console to remind myself how to reboot properly

I do know there are questions and good answers, what to do if Ubuntu just hangs (like this one: http://ubuntu.stackexchange.com/questions/4408/what-should-i-do-when-ubuntu-freezes). My problem is that ...