Back to front pageView on Hacker News (opens in a new tab)Ask HN: Best Command-Line Applications?634 pointsby jaydouken (on Hacker News)8 years agoI really enjoy using a command-line interface instead of a graphical user interface, and was wondering if anyone had any solid recommendations for applications that one can use in a terminal window.Comments (385) 158 threadsShow all commentsShowing thread 50 of 158[-]michaelmcmillan8 years ago1 reply#nc - arbitrary TCP and UDP connections and listensFile transfer between machines: $ nc -l 1234 > filename.out Using a second machine, connect to the listening nc process, feeding it the file which is to be transferred: $ nc host.example.com 1234 < filename.in Or a simple web server: $ while true ; do nc -l -p 1500 -c 'echo -e "HTTP/1.1 200 OK\n\n $(date)"'; donexvilka8 years ago#Try ncat from nmap - it has more features. And for some specific applications - socat.
michaelmcmillan8 years ago1 reply#nc - arbitrary TCP and UDP connections and listensFile transfer between machines: $ nc -l 1234 > filename.out Using a second machine, connect to the listening nc process, feeding it the file which is to be transferred: $ nc host.example.com 1234 < filename.in Or a simple web server: $ while true ; do nc -l -p 1500 -c 'echo -e "HTTP/1.1 200 OK\n\n $(date)"'; done
xvilka8 years ago#Try ncat from nmap - it has more features. And for some specific applications - socat.
Comments (385) 158 threads
Show all comments
Showing thread 50 of 158
File transfer between machines:
Using a second machine, connect to the listening nc process, feeding it the file which is to be transferred: Or a simple web server: