Perpetual PC's

Web Site Design.       Networks.

Commands and references ( GNU / linux kernel 2.4.18-3 and 2.4.18-14 )   
Linux is a registered trademark of Linus Torvalds


The commands with their most common usage are in brackets like this: [ command ].
Don't type the brackets, just what is inside of them.

Back to the index page


[ tree ]
This command will also list all the files in the directory you are in when you type it. So if you are in the top directory of your home directory you will get a count and a list of all the files and sub-directories in your home directory.If you type this command in the / directory of the system you will get thousands and thousands of files screaming by as you watch. When it finishes there will be a file and directory count listed. You must have the "tree" program installed. This command, like most others, has many options. some of them are:
[ tree -a ], list all files including hidden
[ tree -d ], list only directories
[ tree -s ], also list size
[ tree -C ], list in color
[ tree -A ], nice formatting
[ tree -s > my_files ] send a list of all files with their sizes to a file called my_files. If you have several thousand files, this method allows you to conveniently look at them.



Perpetual PC's home page

Perpetual PC's link page