ls--

ls on steroids
授权协议 Readme
开发语言 SHELL
所属分类 应用工具、 终端/远程登录
软件类型 开源软件
地区 不详
投 递 者 冉高寒
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

- Every tiny cent helps a lot!

ls++ - colorized ls on steroids

USAGE

ls++ [OPTION]... [FILE]...

OPTIONS

Not known parameters will be passed through to ls, so to show hidden files,-a or -A might be added. See ls(1) for more information.

Views

--pf    permissions, file
--psf   permissions, size, file
--tpf   time, permissions, file
--tpsf  time, permissions, size, file (default)
--ptsf  permissions, time, size, file
--potsf permissions, owners, time, size, file

INSTALLATION

Packages exist for several linux distributions:

Archlinux

pacman -S ls++

SUSE

yast -i ls++

Other / Bleeding edge

I recommend using the cpanminuscpan client and doing a

alias cpan=cpanm

in your shellrc. The program will be there in your normal repositories. :)

# cpanm Term::ExtendedColor File::LsColor
$ git clone git://github.com/trapd00r/ls--.git
$ cd ls--
$ perl Makefile.PL
$ make && su -c 'make install'

$ cp ls++.conf $HOME/.ls++.conf

Install from git locally in your $HOME:

$ mkdir -p $HOME/lib/perl5
$ export PERL5LIB=${HOME}/lib/perl5
$ export PERL_MM_OPT="INSTALL_BASE=${PERL5LIB}"
$ cpanm Term::ExtendedColor File::LsColor

$ git clone git://github.com/trapd00r/ls--.git
$ cd ls--
$ perl Makefile.PL
$ make
$ make install

$ cp ls++.conf $HOME/ls++.conf

Install from CPAN locally; managing dependencies automatically:

$ mkdir -p $HOME/lib/perl5
$ export PERL5LIB=${HOME}/lib/perl5
$ export PERL_MM_OPT="INSTALL_BASE=${PERL5LIB}"
$ cpan App::lsplusplus

If you want to install it globaly, you just skip the first three stepsand run the cpan command as root.

Mac OS X Installation

# cpan Term::ExtendedColor File::LsColor
$ git clone git://github.com/trapd00r/ls--.git
$ cd ls--
$ perl Makefile.PL
$ make && sudo 'make install'

$ cp ls++.conf $HOME/.ls++.conf

HISTORY

I wanted to re-arrange the ls output just like one can do with the -printfoption to GNU find. Sadly, there are no -printf option available for ls, so Ithrew together a quick hack called 'pilsner' that did what I wanted and nothingmore, nothing less. Not very useful to others.

Mattias Svanström crafted together the 'l' application which did basically thesame thing but more elegant and with a nice twist; it calculated relativemtimes.

I really liked that idea, but there were a couple of annoyances, so I forked theproject and added a configuration file, support for flags that'll control thedifferent views and possibility to ignore as well as highlight specific files.

AUTHOR

\ \ | / /
 \ \ - /
  \ | /
  (O O)
  ( < )
  (-=-)

Magnus Woldrich
CPAN ID: WOLDRICH
m@japh.se
http://japh.se

CONTRIBUTORS

Mattias Svanström

Gregory Sacre

Shelby Munsch - extensive macos work

COPYRIGHT

Copyright 2010, 2011, 2018 the ls++ AUTHOR and CONTRIBUTORS as listed above.

SEE ALSO

l

pilsner

  • linux:ls、ls -l、ls -al区别 示例 比如test文件夹下有一个test文件、一个.文件夹、一个..文件夹。 则,执行三个命令后,显示效果如下: [root@linuxserver test]$ ls //显示不隐藏的文件与文件夹 testing [root@linuxserver test]$ ls -l //显示不隐藏的文件与文件夹的详细信息 -rw------- root r

  • ls命令的相关参数 在提示符下输入ls --help ,屏幕会显示该命令的使用格式及参数信息: 先介绍一下ls命令的主要参数: -a 列出目录下的所有文件,包括以 . 开头的隐含文件。 -A 显示除 “.”和“..”外的所有文件 -b 把文件名中不可输出的字符用反斜杠加字符编号的形式列出。 -B 不输出以 “~”结尾的备份文件。 -c 输出文件的 i 节点的修改时间,并以此排序。 -C 按列输出,

  • ls -a:列出当前目录下所有的文件,包括以“ . ”开头隐含文件; ls -l:列出除文件名外,文件的权限、所有者、文件大小详细大小; ls - ltr s*: 列出当前目录下所有以 s 开头多的档案(注:最新创建的显示在最后面) ls -l 命令详细解释: d        rw-rwxrwx        1        root        root        14960     

  • ls是“list”的意思,与早期dos的命令dir功能类似。参数-al则表示列出所有的文件,包括隐藏文件,就是文件前面第一个字符为.的文件。如上所示,在第一次以root身份登录linux时,如果输入命令后,应该出现上面的内容先解析一下上面7个字段的意思,如图所示: 1.第一列便是这个文件的属性: #第一个属性表示这个文件时“目录、文件或链接文件等”: 【d】,则是目录 【-】,则是文件 【l】,则

  • ls -l每个字段 console:/ # ls -l data/ total 1908 drwx------ 2 root root 4096 2021-08-19 10:58 adb drwxrwxr-x 2 system system 4

  • 功能: List references in a remote repository 命令格式: git ls-remote [--heads] [--tags] [--refs] [--upload-pack=<exec>]      [-q | --quiet] [--exit-code] [--get-url]      [--symref] [<repository> [<

  • 在shell中ls -F是一个很有用的命令:把文件按照类型归类,主要区分目录文件、可执行文件、链接文件,并且在末尾加上 / 、*、@符号标识 ls参数 -F: 对 可执行文件 添加一个 * 对 目录文件 添加一个 / 对 符号链接文件 添加一个 @ [root@manager day4]# ls -F 1/ #目录 11.txt@ #链接文件 1.txt #普通文件

 相关资料
  • Color LS 是一个使用颜色和图标对 ls 输出进行着色的 Ruby 脚本。 Usage (Back to top) Just lc : Prints all directories, files and dotfiles in current directory. With paths : lc path(s) prints all directories, files and dotfil

  • 命名 git-ls-files - 显示有关索引和工作树中文件的信息 概要 git ls-files [-z] [-t] [-v] (--[cached|deleted|others|ignored|stage|unmerged|killed|modified])* (-[c|d|o|i|s|u|k|m])*

  • 名称 git-ls-tree - 列出树对象的内容 概要 git ls-tree [-d] [-r] [-t] [-l] [-z] [--name-only] [--name-status] [--full-name] [--full-tree] [--abbrev[=<n>]] <tree-ish> [<path>…] 描述 列出给定树对象的内容,例如

  • 名称 git-ls-remote - 在远程存储库中列出引用 概要 git ls-remote [--heads] [--tags] [--refs] [--upload-pack=<exec>] [-q | --quiet] [--exit-code] [--get-url] [--symref] [<repository> [<refs>…]

  • 问题内容: 我以为直到现在我都了解* nix管道…我有一个名为的可执行文件,它指向我的安装程序的符号链接,我以为我可以使用 但这是行不通的。它给我的效果等同于仅在当前目录中运行。 如果我跑步,我会得到。如果我运行,我得到的预期输出将显示符号链接位置。 那么,为什么管道版本不起作用?我还没为管道抱怨什么? 问题答案: 为此,您需要: 来自: xargs-从标准输入构建和执行命令行 要完全理解管道的工

  • 我用Ubuntu 14.04操作系统在本地计算机上安装了单节点Hadoop。现在我将使用HDFS,当我键入一个简单的命令时 它显示以下错误: 我不知道这个错误,我真的很感激如果有人帮我解决这个问题:)