might be better titled as "8 Unix commands every developer should know". They are all generic unix commands.
Linux Commands for Developers
51–60 of 67 posts
Re: Linux Commands for Developers
#52Re: Linux Commands for Developers
#53I think it's obligatory that someone writes 'strace' in threads about articles like this, so here goes. strace is fantastic for debugging certain categories of problem.
Re: Linux Commands for Developers
#54Re: Linux Commands for Developers
#55"What are some time-saving tips that every Linux user should know?"
http://www.quora.com/Linux/What-are-some-time-saving-tips-th...
Re: Linux Commands for Developers
#56Hmmm, is this HN worthy? These commands are so basic that I don't expect any HN-reader using Unix systems not to know those. What about some slightly less basic ones that I'd think would be useful for many people. # less with syntax highlighting alias less="/usr/share/vim/vimcurrent/macros/less.sh" tailf # tail -f, but better & shorter mtr # check your connection (ie., traceroute with more info) htop # nice a colorfu…
That's better about tailf, and why would I use it instead of the (far superior to tail) less +F?
Re: Linux Commands for Developers
#57I thought to learn something useful for programing (debugging, program runtime analysis, etc.). But instead the article is just about the generic commands cat, sort, grep, cut, sed, uniq, find and less. It is not really development related.
Totally agree! Wasted time. Everybody know these commands.
Send the article along, it's not always about you...
Re: Linux Commands for Developers
#58how do I execute the out put of something like this: grep -i 'pattern' file | awk '{print $5}' | sed 's/^/cmd/g' I end up sending to a file, chmod, then run it at the shell.
grep -i 'pattern' file | awk '{print $5}' | xargs cmd
Re: Linux Commands for Developers
#59Hmmm, is this HN worthy? These commands are so basic that I don't expect any HN-reader using Unix systems not to know those. What about some slightly less basic ones that I'd think would be useful for many people. # less with syntax highlighting alias less="/usr/share/vim/vimcurrent/macros/less.sh" tailf # tail -f, but better & shorter mtr # check your connection (ie., traceroute with more info) htop # nice a colorfu…
Re: Linux Commands for Developers
#60Earlier quoted context omitted.
Perhaps because sending GiBs through read(2) and write(2) unnecessarily isn't a NOP?
You can do that sending while you're waiting for the disk to provide said GiBs. I also believe that useless uses of cat are often acceptable for readability (many novices are not familiar with redirecting standard input, particularly not as the first thing on a command line).