TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

"tree" command on MacOSX

9 pointsby evandrixover 12 years ago

5 comments

adamtover 12 years ago
And this is on the front page?! Apologies for the meta-discussion, but this highlights go me just how much HN has changed. This tutorial is simply download, untar, uncomment relevant (and labelled) lines of a makefile and type make.
评论 #4492666 未加载
评论 #4492665 未加载
评论 #4492705 未加载
评论 #4492718 未加载
joethompsonover 12 years ago
Or, if you have Homebrew (<a href="http://mxcl.github.com/homebrew/" rel="nofollow">http://mxcl.github.com/homebrew/</a>) installed:<p><pre><code> brew install tree</code></pre>
评论 #4492625 未加载
mathieuhover 12 years ago
Useful `tree` aliases:<p><pre><code> alias l1 'tree --dirsfirst -ChFL 1' alias l2 'tree --dirsfirst -ChFL 2' alias l3 'tree --dirsfirst -ChFL 3' alias l4 'tree --dirsfirst -ChFL 4' alias l5 'tree --dirsfirst -ChFL 5' alias l6 'tree --dirsfirst -ChFL 6'</code></pre>
gbinover 12 years ago
Front page !? No offense but it is a brogrammer-class tip to be able to compile something on a mac...
评论 #4492668 未加载
chjover 12 years ago
Very good utility. Thanks for the tip.