List all files under the current directory line by line with full path

TL;DR

When the current directory is / home / user1 / work /, execute the following command.

find `pwd`

Output result

/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

application

Extract only those with the extension .html.

find `pwd` | grep \\.html$

Output result

/home/user1/work/index.html
/home/user1/work/profile.html

Recommended Posts

List all files under the current directory line by line with full path
Unzip all zip files under the current directory
Search for files with line feed code CR + LF under the current directory
Delete all pyc files under the specified directory
Get the full path referenced by .lnk with wsl
Import by directly specifying the directory path
Python script that makes UTF-8 files with all BOMs under the folder without BOMs
How to get a list of files in the same directory with python
I tried searching for files under the folder with Python by file name
How to list files under the specified directory in a list (multiple conditions / subdirectory search)
File renaming using the full path received by the shell
Drop all CSV files under any directory into DataFrame
Checks if there is a specific character string for all files under the directory that is Python and outputs the target line
Check what the character code is for all files under the directory that is Python and output
Recursively copy files from the directory directly under the directory using Python
[Python] Get the script execution directory with an absolute path
Prevent unnecessary directories from being created under the current directory when you start project with Django
File access under the directory
[Linux] Directory under the root
Get a list of files in a folder with python without a path
What should I do with the Python directory structure after all?