5,202 reputation
11525
bio website mikelward.com
location Mountain View, CA
age 34
visits member for 5 years
seen 9 hours ago

Computer guy from Australia now living in the US.

Part sysadmin, part developer, part web developer.

My name is pronounced like "Michael".


Mar
17
comment How to execute shell script in cygwin?
That's OK. It's easy to make mistakes when typing. That's why it's better to always post the actual output. Or if you need to hide some sensitive information, copy paste into Notepad, do a Find/Replace, then post that.
Mar
17
comment Changing Ubuntu Wallpaper Using Terminal or From command Line
Do you get an error message? I don't know if this is your problem, but the man page says that the key name is a parameter, not an option, so you should try putting it after the options, e.g. gconftool-2 --set --type list --list-type string /apps "[file...]".
Mar
13
comment What does the “Maximum Frequency” number mean in the Windows Resource Monitor?
How many CPUs do you have? Are they overclocked? Does your BIOS correctly detect you CPU? Apparently there are different ways of detecting the maximum CPU frequency. support.microsoft.com/kb/888282
Mar
11
comment pscp copy file remotely from Windows to Linux
What have you tried? Running pscp /? will tell you how to run it. Or is pscp not found?
Mar
7
comment Hop meaning (TTL measuring)
I added a link to RFC 1716. That's where it's specified.
Mar
4
comment Searching for a specific option in a man page
As noted below, most of the time what you're looking for is at the start of the line after some indentation, so the pattern will usually look like mans '^ *<something>' <page>. See my answer for more details.
Mar
4
comment rename tmux window name to prompt_command, ps1 or remote ssh hostname?
If all you want is the hostname on your local side, that's much easier. Hang on a sec...
Mar
2
comment In Vim, what is Control + W for in insert mode?
I can't reproduce the delay. What version of Vim and what operating system?
Mar
2
comment What is the style used for visited hyperlink in MS Word?
That's for 2003 only. AdamV's answer works in 2007 (and I assume 2010).
Feb
28
comment Can't edit /etc/profile on my mac
What does ls -l /etc/profile say? -r--r--r--?
Feb
28
comment chained commands to create directories on a remote server
I think you'd better start from the start. Clearly explain what you're trying to do and we can help with a solution.
Feb
28
comment chained commands to create directories on a remote server
rsync does not support user@server:port:/path. You need rsync -e "ssh -p port" ... user@server:/path.
Feb
28
comment chained commands to create directories on a remote server
OK, so next can you explain what you want ls -dlts | cut -d" " -f10 to do? There are some better ways.
Feb
28
comment chained commands to create directories on a remote server
Indeed, once we know what -exec sh -c "ls -dlts {}" is for, then we can replace it with find -printf or stat or whatever.
Feb
28
comment chained commands to create directories on a remote server
cut -d" " -f10 is probably wrong. Are you trying to get the directory name? Or what it points to if it's a symlink? Or something else?
Feb
28
comment chained commands to create directories on a remote server
Can you add your rsync command along with a sample source directory tree and the desired target directory tree? I don't know if you need to be running mkdir repeatedly on the target host.
Feb
26
comment Why does my system hang when I run ps, w and possibly other commands?
What does mount say? Note there's a chance that might hang too (I don't think it should, but I'm not 100% sure).
Feb
25
comment reset file permissions?
That will give all files execute permission.
Feb
25
comment Copy and Paste without needing to use the Mouse
I have looked for a bug reporting form for Windows previously and failed.
Feb
23
comment Kill xserver from command line (init 3/5 does not work)
+1 Good point, on Debian, runlevel 3 and runlevel 5 are the same thing. See, e.g. /etc/init/gdm.conf.