1,042 reputation
1820
bio website markcampbell.me
location Canada
age
visits member for 4 years, 10 months
seen Dec 1 at 17:35

Dec
16
comment Get colors in 'less'' command
This is useful when the file itself contains the escape codes that will need to be displayed.
May
31
comment Can I set a unique date/time for a single user in Ubuntu?
OK, so... how do you actually do it?
May
31
comment Programs that can open this AVI file without problems?
Have you considered filing this as a bug to the VLC team? I'm sure they're interested in what's causing the issue.
May
31
comment Cannot use scp on Mac OS X
Have you tried replacing . with the name of the file? e.g., scp me@192.168.1.10:/home/me/file.zip file.zip ?
May
31
comment Vim to replace Vi
The environment variables EDITOR and VISUAL will take precedence when you hit v over the default vi command. So, in your .bashrc export EDITOR or VISUAL with vim as its value; e.g., export EDITOR=vim and export VISUAL=vim in your .bashrc
May
31
comment MP3 player for OS X with wide timer bar
Ctrl ← to rewind per minute and Shift ← to rewind 5 seconds.
May
31
comment How to remove all items containing a string in Windows registry?
Revo
May
25
comment create mysql database with one line in bash
sorry I edited my answer after some more research.
May
25
comment How to change default vi alias in Fedora 14?
just executing the file does not make those changes available in your terminal. If I export a variable in the .bashrc and I execute the script instead of sourcing it, then that exported variable disappears after the script finishes executing. See superuser.com/questions/176783/… stackoverflow.com/questions/1107808/… and stackoverflow.com/questions/1880735/…
May
25
comment How to change default vi alias in Fedora 14?
Not quite the same thing. You have to source the file (instead of running it with ~/bashrc on its own), otherwise the changes will not be reflected in the terminal. So, either do . ~/.bashrc or source ~/.bashrc.
May
19
comment Setting up dual monitors (limited access)
@DalexL you can look it up in your Device Manager, if you can get to it or if you can run GPU-Z, then that will tell you.
May
19
comment Setting up dual monitors (limited access)
What is the graphics card brand that you're using?
May
16
comment Using the windows/super/Meta key in Fedora
In *nix distributions, they like to refer to it as the Super or Meta key.
May
11
comment Linux rm non-interactive command
@Kendrick you might also want to do --no-preserve-root on Ubuntu as well, just to be safe </sarcasm>.
May
10
comment Equivalent of “du --max-depth=0 -h” (or something similar) in Solaris
you can answer your own question then.
May
9
comment Converting hexadecimal address to decimal one
Binary is means base 2, so it's all 0 and 1 from there. If you're using IPv4 then it's usually in dotted decimal which makes converting to dotted 'binary' a lot easier because then you only have to translate a few numbers at a time and then combine them at the end. For example, if you had the FFFF0000 number, then it could be translated to FF.FF.00.00 and then take the FF's into binary with 11111111 and the 0's with all 0's to 11111111.11111111.00000000.00000000.
Mar
28
comment New monitor doesn't display text the same as old monitor
There can also be graphics card specific settings that you enabled per monitor to enhance the colors. I know Nvidia has these options (and fairly certain about ATI as well).
Mar
28
comment New monitor doesn't display text the same as old monitor
How did you take the pictures? Are these screenshots or from a camera?
Mar
8
comment ksh Auto-Completion PuTTY Configuration
Well, it looks like there is a version difference between the AIX and HP-UX servers that we were testing it on. Version E doesn't work at all but version T does. Also, my shell had been set to ksh instead of ksh93, leading to much more confusion.
Mar
8
comment ksh Auto-Completion PuTTY Configuration
>echo ${.sh.version}; Version M-12/28/93e It's really bizarre. His version is the same. He had ignoreeof set to on in one case and it worked, and then ignoreeof set to off in another case which gave behavior similar to mine. So I set it to on but it didn't work. My numpad doesn't feature an equals key that works.