Besides displaying tree of processes on ubuntu, you can also display tree of directories and files if you like. To display tree of process the command is 'pstree', but for directories and files the command is just 'tree'.
The 'pstree' command is comes pre-installed on ubuntu, while the 'tree' command is not, so in order to use 'tree' command you need to install it first.
Installing the 'tree' command:
sudo apt-get install tree
Go ahead run the 'tree' command:
tree
tree -d
tree -f
No comments:
Post a Comment