LinuxFile/Directoryfind
touch

findFile/Directory

ln -s

Search for files matching given criteria.

Syntax

find PATH [EXPRESSION]

Example

Enter values below to update the example in real time.

find
var
name
tmp
mtime
# 이름으로 찾기
find /var/log -name "*.log"

# 7일 이상 된 파일 찾기
find /tmp -mtime +7

# 찾아서 삭제
find . -name "*.tmp" -delete