If you're a software developer, you've probably got your Swiss army knife of commands, aliases, and scripts that help you be more efficient. But it's surprising how many people don't utilize some of the most powerful tools packaged with most Unix distributions. At HomeAdvisor we love learning new tips and tricks to get things done, so we thought we would share some Unix commands our development teams use everyday. Hopefully you'll find a new tool to add to your bug fighting arsenal. 1. grep A lot of the examples we use below involve the grep command, so it makes sense to look at it first. By far one of the more powerful commands on Unix, grep is a regular expression processor that can quickly find text within files, command output, and more. The default usage is very straight forward: [crayon-5debd368eea83717895813/] This will find the term word in a file named file.txt and echo out all lines that contain word. That's it. Very simple, yet incredibly powerful. No opening a text … [Read more...]
You are here: Home / Archives for unix