LoginSignup
1
2

More than 5 years have passed since last update.

linux > ls と less組合せ時に複数列表示を保つ > ls -x | less または ls -C | less

Last updated at Posted at 2016-10-26
動作環境
CentOS 6.8

多量のファイルがあるディレクトリにおいて、ls実行時には3列などの表示になる。

ls | lessにするとこれが1列表示になる。

複数列でのls+lessの表示は

によると

ls -x | less
もしくは
ls -C | less
とのこと。

やってみたら2列では表示された。3列にはならない。

関連 http://qiita.com/7of9/items/d62e96ac4630a033276a

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2