广告

可选:点击以支持我们的网站

免费文章
Technical discuss

Linux/Ubuntu查看更详细的树状结构,可以使用 tree 命令

More
06 Jan 2026 12:23 #992 by service
New Topic
# 安装tree命令(Ubuntu/Debian)
Code:
sudo apt-get install tree

# 查看目录结构(限制3层深度)
Code:
tree -L 3 pkg_evcharging
或者使用这个替代命令来显示结构:
Code:
find pkg_evcharging -type d | sed -e "s/[^-][^\/]*\//  |/g" -e "s/|\([^ ]\)/|-\1/"
 

Please Log in or Create an account to join the conversation.

¥697.01
No vote
Add to cart

Whatsapp

QR code whatsapp Michael Liang en

¥34.85
No vote
Add to cart

Login