Live data from Hacker News

Command line tools every web dev needs to know

coderholic.com

1–10 of 71 posts

Re: Command line tools every web dev needs to know

#3

We are interviewing for experienced developers at the moment and the lack of general unix knowledge is really surprising. A little bit of shell scripting goes a long way in automating away dev work.

I agree whole-fully. I know many "experts" in various areas such as programming, web dev, security, and a few others.

Rare are the ones who know how to use these basic commandline tools.

The last time I've shown ngrep to a sysadmin he was like "omagad amazing" - always feels nice :)

But, that's not really an obscure tool. I initially thought everyone knew that, like most know nmap.

Turns out most know nmap and ssh because they're really that well known (generally they don't know most options)

Makes me sad! Command's line easy and fun!

Re: Command line tools every web dev needs to know

#5

    $ curl -I news.ycombinator.com
    HTTP/1.1 200 OK
    Content-Type: text/html; charset=utf-8
    Cache-Control: private
    Connection: close
Keep in mind that this will fire a HEAD request to the server which, depending on web server you use in development, may not return the exact header you'd get with GET (IIRC, Jetty used to do this).

I like to use something like this in such situation:

    $ curl -s -D /dev/stderr news.ycombinator.com >/dev/null

Re: Command line tools every web dev needs to know

#7

We are interviewing for experienced developers at the moment and the lack of general unix knowledge is really surprising. A little bit of shell scripting goes a long way in automating away dev work.

Also, typing.

I am frequently amazed to see professional software developers with years of experience in the field, who only type using their two index fingers. You probably do not need to type 120 WPM to be an amazing programmer, but typing without looking at the keyboard is absolutely essential.

Re: Command line tools every web dev needs to know

#8

We are interviewing for experienced developers at the moment and the lack of general unix knowledge is really surprising. A little bit of shell scripting goes a long way in automating away dev work.

Realy is a lack of knowledge of the UNIX cli (used in its widest sense) so poor?

Re: Command line tools every web dev needs to know

#9
post #5

$ curl -I news.ycombinator.com HTTP/1.1 200 OK Content-Type: text/html; charset=utf-8 Cache-Control: private Connection: close Keep in mind that this will fire a HEAD request to the server which, depending on web server you use in development, may not return the exact header you'd get with GET (IIRC, Jetty used to do this). I like to use something like this in such situation: $ curl -s -D /dev/stderr news.ycombinator…

I rarely find I use curl's -s without its -S, e.g. -sS. It seems curl's design is flawed in its definition of -s; perhaps it's historic and it was too late to change it.
Post reply on HN