360 Secure SkillHub
360 安全技能中心

Ls Tool

该 Skill 提供 ls-tool 命令,用于列出文件和目录,可配置长格式(权限、大小、日期)、显示隐藏文件、人类可读大小、递归列出和按修改时间排序等选项。

分类:自动化
dinghaibin
dinghaibin
热度 22.14
最近更新 2026-05-11 17:46:41

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add dinghaibin/ls-tool
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
ls-tool
description
List directory contents with detailed file information. Use for browsing files, checking permissions, and examining directory structure.

LS - Directory Listing Utility

List files and directories with configurable detail levels including file size, permissions, ownership, and timestamps.

Usage

ls-tool [options] [path...]

Options

  • -l: Long format (permissions, size, date)
  • -a: Show hidden files (starting with .)
  • -h: Human-readable file sizes
  • -R: Recursive listing
  • -t: Sort by modification time

Examples

ls-tool -la
ls-tool -lh /home/user
ls-tool -R src/