bash install tree code example Example 1: ubuntu install tree apt-get install tree Example 2: install tree in linux sudo apt-get install tree