Help us understand the problem. What is going on with this article?

カレントディレクトリ以下のすべてのファイルを1行ずつフルパスでリストにする

TL;DR

カレントディレクトリを/home/user1/work/としたとき、以下のコマンドを実行する。

find `pwd`

出力結果

/home/user1/work/ahtml
/home/user1/work/b.htmll
/home/user1/work/index.html
/home/user1/work/sitemap.xml
/home/user1/work/profile.html
/home/user1/work/favicon.ico
/home/user1/work/css/style.css
/home/usrr1/work/js/main.js

応用

拡張子に.htmlを持つものだけ抽出する。

find `pwd` | grep \\.html$

出力結果

/home/user1/work/index.html
/home/user1/work/profile.html
hidao
岡山アイス珈琲党総帥。開発環境構築が趣味の超D級ITひまじん。 「人の数だけ普通・常識・当たり前が存在する」と信じるマルチスタンダード主義者。 プライベート用アカウントです。
https://blog.hidao.work/
qiitadon
Qiitadon(β)から生まれた Qiita ユーザー・コミュニティです。
https://qiitadon.com/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした