Reputation
1,690
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
13 24
Newest
 Yearling
Impact
~212k people reached

Aug
24
comment Bash prompt: how to have the initials of directory path
I don't know perl so can't judge the general solution, but I think you would have to edit it to use PROMPT_COMMAND as in my solution, otherwise PS1 will be set when you start bash and will not change as you change directory.
Aug
24
comment Bash prompt: how to have the initials of directory path
I tried that, but unfortunately it sets the value of PS1 once when you start bash and will not update it after that. So you will change directory and your prompt will not change - I made this mistake and then was playing and had to scratch my head to work it out. See my (edited) answer for a way around this using PROMPT_COMMAND
Aug
24
revised Bash prompt: how to have the initials of directory path
corrected answer and added explanation
Aug
24
answered Bash prompt: how to have the initials of directory path
Aug
24
comment Bash prompt: how to have the initials of directory path
It's not actually an exact duplicate, though it is similar. But looking through that I can't easily see exactly how to do what I want - which is not fixed length, but just initials. I might have a go and post the answer here if I succeed.
Aug
24
comment Upstart Help: Change Ubuntu 10.04 Service Boot Order
For documentation you can do worse than look at man init and man 5 init - the latter documents the /etc/init/*.conf file format. It may not give you the big picture of course ...
Aug
24
asked Bash prompt: how to have the initials of directory path
Aug
19
comment How to open Firefox's “organize bookmarks” from Vimperator?
@Igor: no problem. It's always good to have the information available online for others to find.
Aug
18
comment MySQL query builder? (like Access has in Design View)
@Josh - have you tried following the instructions starting from dev.mysql.com/doc/workbench/en/wb-sql-development.html
Aug
18
answered MySQL query builder? (like Access has in Design View)
Aug
18
answered How to open Firefox's “organize bookmarks” from Vimperator?
Aug
11
awarded  Popular Question
Aug
1
answered Cannot boot Live USB, Linux
Aug
1
comment Cannot boot Live USB, Linux
What OS are you using to create the USB stick? Windows? Linux?
Jul
20
answered Vi-Vim like control keybindings for Windows
Jul
20
comment Grep multiline pattern
@Daenyth grep -E mostly just means you can use ?, +, {, |, (, and ) as their usual regex meaning without having to have a \ in front, as you do if you use standard grep. So grep 'hello\s\+world' file is equivalent to grep -E 'hello\s+world' file. It doesn't do PCRE. There is grep -P for perl regular expressions, but it is experimental (according to the man page) and I think it is a little different from pcregrep ...
Jul
20
revised Grep multiline pattern
added 1 characters in body
Jul
20
answered Will lsusb and lspci list devices for which the system has no drivers?
Jul
20
answered Grep multiline pattern
Jul
20
answered Installing Ubuntu To run in Virtual Box