The tag has no wiki summary.

learn more… | top users | synonyms

26
votes
3answers
19k 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 ...
11
votes
5answers
9k 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 ...
15
votes
4answers
1k 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?
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 ...
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 ...
17
votes
3answers
11k 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 ...
16
votes
3answers
4k 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?
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 ...
1
vote
1answer
403 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 ...
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 ...
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 ...
1
vote
1answer
92 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)? ...