Posted in Command Line, Linux Graphical representation of sub-directories Binny V A February 8, 2008 Leave a Comment on Graphical representation of sub-directories This command shows a graphical representation of the current sub-directories. ls -R | grep ":" | sed -e 's/://' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'mand Original Article Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.