Teradata interview question

write the code to implement the linux "tree" command