TL;DR
When the current directory is / home / user1 / work /
, execute the following command.
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
Extract only those with the extension .html
.
find `pwd` | grep \\.html$
/home/user1/work/index.html
/home/user1/work/profile.html
Recommended Posts