News for hackers. Stuff that matters.
Re:Webserver in bash (2007) by krunaldo on Friday August 16, 2013 @03:32AM (#6222652)
Wrong!

echo, true, false and [ are builtins in bash and are in the binary. You can even do TCP/UDP through bash by using the pretend redirect files /dev/(tcp|udp)/$host/$port.

curl or wget exists on most systems by default in a minimal installation now days, nc does not, but if you run a normal installation you will get it though.

Re:Webserver in bash (2007) by JosephRedfern on Friday August 16, 2013 @07:17AM (#6223281)

   josephredfern@ubuntu:~$ which [
   /usr/bin/[
Re:Webserver in bash (2007) by Daviey on Friday August 16, 2013 @08:34AM (#6223567)
Use 'type', not 'which'
Re:Webserver in bash (2007) by LukeShu on Friday August 16, 2013 @04:17PM (#6226531)
It exists as both an external program, and as a builtin

    $ type [
    [ is a shell builtin