Issue
Is there a way to print the ASCII charachter '├── ' and '└──' using a bash or perl script? I want it be exactly like the output of 'tree'.
[root@localhost www]# tree -L 1
.
├── cgi-bin
├── error
├── html
└── icons
Solution
echo -e "\0342\0224\0224\0342\0224\0200\0342\0224\0200 \033[01"
Answered By - liyaoshi Answer Checked By - David Goodson (WPSolving Volunteer)