Four Handy Command-Line Tricks on Mac OS X

2

Comments

+ Add a Comment
avatar

Mr K

If you're going to come off as informing/instructing then you need to proof your work. "grep the *" will never output the line "file6.html: The creative brief is where we discuss high-level strategy" because grep is case-sensitive. Unless you've aliased "grep" to "grep -i", which is a command you haven't mentioned. But full points for correctly attributing the meaning of grep. It's a mash up of the "ex" command that used to be the only way to search, before grep was written: "g/re/p" (global - every line in the file, re - regular expression, print lines that match). Good try, but you can do better.

avatar

jedoralive

er..
cd
/awesomeness/rb/thisarticle/rocks/
ls
mrmeowgithanksyou.jpg

Log in to Mac|Life directly or log in using Facebook

Forgot your username or password?
Click here for help.

Login with Facebook
Log in using Facebook to share comments and articles easily with your Facebook feed.