1,615 reputation
1224
bio website foobacca.co.uk
location United Kingdom
age
visits member for 5 years, 5 months
seen Dec 22 at 17:51

Unless I explicitly state otherwise in a post, all my original contributions to StackOverflow and ServerFault are placed into the public domain. If this is not legally possible, then anyone receiving a copy of them by any means is granted a non-exclusive perpetual license to use, distribute and modify them, and to distribute modifications, under any license or none, with or without attribution to me. Please note that this license applies only to my original contributions.


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
Jul
17
answered Seeding thousands of torrents