Linux tree command-from Cyber

Source: Internet
Author: User
Tags control characters

Tree

function Description:Lists the contents of the catalog in a tree view.

Syntax:Tree [-aacddffgilnnpqstux][-i < template style >][-p < template style >][directory ...]

Additional notes:Executes the tree instruction, which lists all files in the specified directory, including files in subdirectories.

Parameters:
-a displays all files and directories.
-A uses Asni drawing characters to display a tree instead of an ASCII character combination.
-C adds color to the list of files and directories, making it easy to differentiate between types.
-D Displays the directory name instead of the content.
-D lists the time that the file or directory was changed.
-F Displays the full relative path name before each file or directory.
-F in executing files, directories, sockets, symbolic connections, pipe name names, respectively plus "*", "/", "=", "@", "|" No.
-g lists the name of the group to which the file or directory belongs, and when there is no corresponding name, the group identifier is displayed.
-I does not list the file or directory name in a ladder form.
-i< template style > does not display file or directory names that conform to the template style.
-L If you encounter a directory with a symbolic connection, directly list the original directory that the connection points to.
-N does not add color to the list of files and directories.
-N lists file and directory names directly, including control characters.
-p lists the permission marks.
-p< template style > show only file or directory names that conform to the template style.
-Q with "?" control characters, listing file and directory names.
-s lists the file or directory size.
-T is sorted with file and directory change times.
-U Lists the owner name of the file or directory, and the user ID is displayed when there is no corresponding name.
-X limits the scope to the current file system, and if some subdirectories under the specified directory reside on another file system, the subdirectory is excluded from the search scope.

Linux tree command-from Cyber

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.