Ask YC: What are the command line tools you can't live without? 3 points by jrsims 18y ago ↗ HN Obviously, tools like 'ls' will be in everyone's repertoire. Looking for some possibly obscure or under-utilized tools here.
[–] mronge 18y ago ↗ I love "open" on Mac OS X. [–] foonamefoo 18y ago ↗ gnome-open for gnome users [–] tuukkah 18y ago ↗ Generic commands that use /etc/mailcap: see, edit, print, composesocat is the swiss army knife that just about lets you forget everything's not a file:$ socat readline: file:/dev/ttyS0,crnl,crtscts,echo=0 # interact with a serial port$ socat readline: tcp:google.com:80 # interact with a tcp port$ socat tcp-listen:1234,fork exec:cat # a forking cat service [–] mwerty 18y ago ↗ = "start" on windows
[–] foonamefoo 18y ago ↗ gnome-open for gnome users [–] tuukkah 18y ago ↗ Generic commands that use /etc/mailcap: see, edit, print, composesocat is the swiss army knife that just about lets you forget everything's not a file:$ socat readline: file:/dev/ttyS0,crnl,crtscts,echo=0 # interact with a serial port$ socat readline: tcp:google.com:80 # interact with a tcp port$ socat tcp-listen:1234,fork exec:cat # a forking cat service
[–] tuukkah 18y ago ↗ Generic commands that use /etc/mailcap: see, edit, print, composesocat is the swiss army knife that just about lets you forget everything's not a file:$ socat readline: file:/dev/ttyS0,crnl,crtscts,echo=0 # interact with a serial port$ socat readline: tcp:google.com:80 # interact with a tcp port$ socat tcp-listen:1234,fork exec:cat # a forking cat service
[–] dkokelley 18y ago ↗ Probably doesn't count, but I sure like that "sudo" command in Ubuntu. [–] kajecounterhack 18y ago ↗ Sudo make me a sandwich. (xkcd reference)
[–] ivank 18y ago ↗ du -h --max-depth=1 <dir>apt-cache search --names-only <name>less -Sfree -mtimehost
[–] makecheck 18y ago ↗ xargs; say, a fast replacement for a find-exec: % find <whatever> -print0 | xargs -0 <command>
[–] whalesalad 18y ago ↗ lynx, top, "curl -O <url>" on my mac since it doesn't come with wget (who's dumb idea was that?) [–] jrsims 18y ago ↗ Install macports and you can add wget, as well as elinks and many others.http://www.macports.org/
[–] jrsims 18y ago ↗ Install macports and you can add wget, as well as elinks and many others.http://www.macports.org/
[–] mixmax 18y ago ↗ none.Some of us have moved away from some of these arcane methods of interaction.They call it progress you know...:-)
13 comments
[ 2.7 ms ] story [ 40.1 ms ] threadsocat is the swiss army knife that just about lets you forget everything's not a file:
$ socat readline: file:/dev/ttyS0,crnl,crtscts,echo=0 # interact with a serial port
$ socat readline: tcp:google.com:80 # interact with a tcp port
$ socat tcp-listen:1234,fork exec:cat # a forking cat service
apt-cache search --names-only <name>
less -S
free -m
time
host
http://www.macports.org/
Some of us have moved away from some of these arcane methods of interaction.
They call it progress you know...
:-)