20,035 reputation
54273
bio website mikelward.com
location Mountain View, CA
age 34
visits member for 3 years, 10 months
seen 20 hours ago

Computer guy from Australia now living in the US.

Part sysadmin, part developer, part web developer.

My name is pronounced like "Michael".


1d
awarded  Enlightened
1d
awarded  Nice Answer
Oct
7
answered Creating symbolic link recursively
Oct
7
comment Where do bash completion functions come from?
This looks a bit like /etc/bash/bash.complete or something similar.
Oct
5
answered How to split a line by multiple characters?
Oct
5
revised How to split a line by multiple characters?
edited title
Oct
4
comment Reading and searching long man pages
FYI, I renamed desc to he. github.com/mikelward/scripts/blob/master/he
Oct
4
comment How to filter any part of description or option from manpage
Just decided to rename it to he, as in short help, plus he/man.
Oct
4
revised How to filter any part of description or option from manpage
deleted 6 characters in body
Oct
4
revised How to filter any part of description or option from manpage
deleted 2 characters in body
Oct
4
answered How to filter any part of description or option from manpage
Sep
30
awarded  Explainer
Sep
29
awarded  Nice Answer
Sep
25
awarded  Talkative
Sep
25
comment What does env x='() { :;}; command' bash do and why is it insecure?
eyoung100, no the echo is getting executed. You can see it's getting executed because the word vulnerable appears in the output. The main problem is that bash is parsing and executing the code after the function definition as well. See the /bin/id part of seclists.org/oss-sec/2014/q3/650 for another example.
Sep
19
comment Neither `less` or `less -X` clear screen on exit
No, it's the other way around. less sends smcup on startup, and rmcup on exit, so after you quit less, you are taken back to your shell and can see your shell output but not what you were viewing in less. The -X flag disables sending those terminal escapes, so the less output is mixed in with your shell output.
Sep
19
comment Neither `less` or `less -X` clear screen on exit
Wait, less -X isn't supposed to clear the screen. What happens without the -X option?
Sep
19
comment Neither `less` or `less -X` clear screen on exit
It's also interesting that you say it works in Vim. Hmm...
Sep
19
comment Neither `less` or `less -X` clear screen on exit
You disabled smcup and rmcup in tmux, and now they're not working? That seems to be expected.
Sep
19
revised Add FreeBSD to GRUB2 boot menu
edited title