Mac: start TextEditor from the command line


.
Console Command:
$ open -a TextEdit readme.txt

Mac: Display a tree-like structural view of any directory


.

Console Command:
ls -R | grep ":" | sed -e 's/://' -e 's/[^-][^\/]*\//--/g' -e 's/^/   /' -e 's/-/|/'