1,712 reputation
1230
bio website
location
age
visits member for 3 years, 10 months
seen Oct 17 at 16:56

Sep
28
asked Is there a way to get *actual* (uninterpreted) shell arguments in a function or script?
Sep
17
comment How to grep a specific line _and_ the first line of a file?
@ЯрославРахматуллин: I think you may have completely misunderstood what I said. (Perhaps because English is not your first language?) "Usability" is related to UX ("user experience") not utility (or "usefulness"). Pointing out that when a simple operation is this complex it hurts usability is NOT the same as saying the tools are useless. Quite obviously they are not useless. No one in their right mind would say they are useless.
Sep
12
comment How to grep a specific line _and_ the first line of a file?
The complexity required by these answers shows how the Unix philosophy of "do one thing and do it well" sometimes fails us when measured by the yard stick of usability: knowing all these commands well enough to apply them to this common problem (filtering process info and still seeing the column labels) shows the downside of the approach: sometimes things don't fit together very cleanly. This is why tools like ack are so useful, and why perl rocketed past sed,awk, etc. in popularity: it's important for the parts to sum up into a coherent whole.
Sep
5
awarded  Nice Question
Aug
31
comment is it possible to trigger `ssh-add <key>` only when I ssh into a box? (from Cygwin)
If I understand correctly, it looks like you forgot the -a after ssh-agent in the code provided.
Aug
30
comment Is it *really* possible to directly steal a private key if it uses no passphrase?
<facepalm>I obviously didn't read the introductory paragraph of that question carefully enough.</facepalm>
Aug
30
accepted Is it *really* possible to directly steal a private key if it uses no passphrase?
Aug
30
comment Is it possible to stop emacs from down translating my key chords?
d'oh! you're right. My mistake.
Aug
30
accepted how can I use bash as my login shell when my sysadmin refuses to let me change it
Aug
30
asked Is it *really* possible to directly steal a private key if it uses no passphrase?
Aug
30
comment Is it possible to stop emacs from down translating my key chords?
This is useful information, and I initially upvoted it, but it's really a comment, not an answer. (In other words, it does not supply the information that the question requests.) I'd gladly upvote it if you converted it to a comment. (I don't have enough reputation to do that. Perhaps you do.)
Aug
30
asked is it possible to trigger `ssh-add <key>` only when I ssh into a box? (from Cygwin)
Aug
30
comment how can I use bash as my login shell when my sysadmin refuses to let me change it
Excellent answer! stackexchange needs a Send A Beer button: this would be a time I'd use it.
Aug
29
comment how can I use bash as my login shell when my sysadmin refuses to let me change it
@seg_fault: sorry, I don't think I followed you. If you mean that I can just type /bin/bash after logging in, then that's exactly the kind of thing I'm trying to avoid. Mostly because I'll usually forget until ksh bites me, and then switching will mean losing the state of my current session.
Aug
29
revised how can I use bash as my login shell when my sysadmin refuses to let me change it
added 2 characters in body
Aug
29
comment how can I use bash as my login shell when my sysadmin refuses to let me change it
@jw013: good point.... old habits die hard. I instinctively use which and then curse its very existence every time it fails
Aug
29
comment how can I use bash as my login shell when my sysadmin refuses to let me change it
Thanks for the feedback! I've incorporated your improvements into my answer.
Aug
29
revised how can I use bash as my login shell when my sysadmin refuses to let me change it
added 4 characters in body
Aug
29
revised how can I use bash as my login shell when my sysadmin refuses to let me change it
incorporating feedback
Aug
29
comment How to test what shell I am using in a terminal?
@geekosaur: maybe so, but $0 still seems more useful than $SHELL: wouldn't you agree? You could always pipe it through sed to remove the '-'.