The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
6answers
52 views

bash prompt chenged itself to a plain “#”

Until I logged in today, as usual- my bash prompt was the standard "username@currpath # ". But today, for me, it's just "# ". If I login as root, it is normal. bashrc seems fine (as compared to ...
1
vote
2answers
33 views

Git prompt won't colorize

I want my git prompt in bash to colorize (green for clean repos, red for dirty repos). Right now, it shows plain white text no matter the git state of my cwd/repo. ...
1
vote
1answer
18 views

How to leave prompt when accidentally enter Grave accent character?

If I write Grave accent character in the terminal, my prompt becomes bquote: and I cannot leave it in anyway. How can I leave this prompt?
0
votes
0answers
35 views

Change password prompt

I am asking the very same question in this link: Remember Ubuntu password but ask for sudo confirmation It has been left unanswered. I want to modify the password prompt to become a single click...it ...
1
vote
1answer
94 views

lxterminal prompt unwanted characters

I'm on fresh Lubuntu 14.04 installation. I am using LXTerminal and this is the prompt I'm setting through .bashrc file: export PS1="\e[0;36m$ \w \e[m" Assume I enter a command up to 15 characters ...
1
vote
2answers
44 views

How do I access the command prompt in Lubuntu?

I have managed the task of loading Lubuntu into a partition of my ThinkPad T41, and am so far very happy with it. I have learned that there is a driver available for my old scanner, but apparently it ...
2
votes
1answer
27 views

Ctrl+a doesn't return all the way back in terminal

I recently updated my prompt to look something like [user@User] ~/wroking/directory (git-branch) ↳ using the following code in my .bashrc source ~/.local/bin/git-prompt.sh ...
0
votes
0answers
20 views

Terminal Switched name to “Server” after running “hdiutil” command

I downloaded the .iso file from the Ubuntu website and I was at step 3 and instead of running the entire command I only ran hdiutil in terminal. My terminal normally said Sonnys-Macbook-Pro:~ ...
0
votes
1answer
37 views

Accidentally removed terminal prompt

I tried to remove my old version of python on my Linux laptop with the terminal but accidentally removed the terminal app. How to get it back?
2
votes
0answers
219 views

UTF-8 character not showing properly in tmux

I use ♪ character in my zsh theme's for prompt. But in tmux, my prompt was behaving weirdly, showing extra spaces, like this: ♪ ~ I can type from here ♪ ~ Instead of here like in zsh, and sometimes ...
1
vote
1answer
76 views

Remember Ubuntu password but ask for sudo confirmation

When I'm done with making Ubuntu remember my password and do not ask for it before risky actions... Is there a way to get safe pop up confirmation window (without password input, just OK or cancel)? ...
0
votes
1answer
37 views

Customise the prompt and display the Battery Capacity?

How do I customise the zsh-Prompt to show for example the time, the wi-fi status and the Battery Capacity? Is it possible to see my current battery charge in the prompt? I have only found a way how ...
2
votes
0answers
470 views

Chromium Ubuntu 13.10 - No webapp setup prompt no webapp icon

I have a completely fresh install for Ubuntu 13.10 64-bit on Dell Latitude E6510. (I also had the same problem on the same laptop using 13.10 32-bit). I use Chromium as my web browser. Webapps are ...
2
votes
3answers
71 views

Confusion regarding sub-directories?

I have a question to count and display number of sub-directories including hidden ones(invisible sub-directories) recursively. I can display sub-directories recursively but I am confused with the ...
1
vote
2answers
116 views

Problem with grep command

I have three files testx,testy and testz all in same directory Sikh. All three files contain same data or content. The contents are: aaabb Aaaaa AAAAA bbbcc Bbbbb BBBBB ff–ff Ccccc CCCCC ...
1
vote
3answers
39 views

Confused with the alias solution?

I am trying to define alias for a group of commands counting recursively and displaying the number of all sub-directories encountered for any working directory (including ones with invisible file ...
1
vote
1answer
33 views

Having problem with alias?

I am trying to define alias for a group of commands counting and displaying the number of all files in account’s space with the names starting with g, t, and w. I got the result with the following ...
0
votes
1answer
202 views

How to count and display number of all files in any working directory?

I am looking for a command to count and display the number of files in any working directory. Further I want to set alias noAf for the command. I have searched for it a lot. I found the following: ...
0
votes
2answers
440 views

How to run .profile from .bashrc file?

I have a file name .test with a echo statement. Now I want to run this file from .bashrc file. What I have done so far is: My .test file contains: echo "hello everyone" My .bashrc file contains: ...
12
votes
3answers
2k views

What does “${debian_chroot:+($debian_chroot)}” do in my terminal prompt?

In my terminal prompt definition in my .bashrc file, among other things, I have this snippet of code: ${debian_chroot:+($debian_chroot)} What does this do, and do I need it?
0
votes
0answers
67 views

Boot prompt hyphens

Booting an Ubuntu DVD, pressing F6 and then ESC presents the boot prompt with the default kernel options, with the possibility of editing and adding extra options. Something like: kernel ...
1
vote
2answers
457 views

Edit ZSH theme for virtualenv name

I use zsh theme intheloops. The theme looks like this when no virtual env. is active -- an empty line -- [sourabh@skynet] ~/Code/django_apps/cope (master) ⚡ ❯ and when an env. is active, (env ...
1
vote
1answer
385 views

Creating new user, inconsistent bash prompt

I've created a new user profile with: useradd kitty passwd kitty mkdir kitty chmod 0700 kitty chown -R kitty:kitty adduser kitty sudo #when I did it I initially didn't ...
0
votes
1answer
42 views

How do I “:set prompt” by default for a particular program?

I'm new to Linux. I installed Haskell and was going through a tutorial, which showed me I can :set prompt "ghci> " to change the prompt. I like the way this looks. How can I make it so that ...
3
votes
2answers
4k views

Changing behavior of bash prompt when functioning as root

Before you click away, this isn't the typical "how do I make my bash prompt have color" question. I've already customized my bash prompt to look like this: [user @ host]----[$(pwd)] $ where ...
2
votes
3answers
3k views

why doesnt ubuntu 13.04 prompt me for a password after suspend?

I am on 13.04 and waking from suspend takes me straight to desktop without a password prompt even though it is set to ask for a password in the brightness and lock settings. Also I recently tried to ...
41
votes
1answer
29k 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
244 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 ...
4
votes
3answers
2k 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
501 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
102 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 ...
8
votes
2answers
2k 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
66 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 ...
1
vote
0answers
152 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) ...
1
vote
2answers
549 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 ...
5
votes
2answers
2k 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
758 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
229 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
174 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
710 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 ...
1
vote
3answers
9k 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
134 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 ...
18
votes
2answers
13k 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 ...
15
votes
2answers
8k views

Changing colors for user, host, directory information in terminal command prompt

Is it possible to change the colors in the command prompt for the user@computer, as well as the the current directory and command parts of the prompt display? I've already seen something like this ...
0
votes
2answers
132 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 ...
1
vote
2answers
2k 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
367 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
392 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 ...