$
Linux Practice
Practice
Tutorials
English
한국어
日本語
中文
terminal
Welcome to Linux Practice Terminal!
Type "help" to see available commands.
user
@linux:
~
$
find (File Search)
Reset Lesson
Search for files and directories in the file system using find.
Step 1
List all files and directories from the current location.
Type: find .
find .
Step 2
Find all .txt files using the -name option with a wildcard.
Step 3
Find only files (not directories) using -type f.
Step 4
Find only directories using -type d.
Step 5
Find all CSV files in the current directory tree.