tree Command
Tagged with: command, dir, Linux, ls, tree
Thursday, February 14th, 2008 11:17 PM
Show files and directories in a tree
tree
Show files and directories in a tree
tree
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
You can create a directory tree using just one command in Linux
mkdir -p /tmp/dir1/dir2