LoginSignup
4

More than 5 years have passed since last update.

lsでサブディレクトリ中のファイルもlsする

Last updated at Posted at 2017-09-27

lsでファイルの一覧だけでなく、カレント以下のディレクトリとその中のファイル一覧も同時に出力する。

ls *$x

実際のディレクトリ構造

qiita
|
├ file1
├ file2
|
├ dir1
│  ├ file3
│  └ file4
|
└  dir2
   └  dile5

実行結果

スクリーンショット 2017-09-27 12.23.54.png

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
4