Skip to content
Linux Commands

icon picker
Find Command


syntax for find command

find [options] [path...] [expression]

To find a file in certain path
find /path -name file_name

Case insensitive search

find /path/ -iname File_name

Search a file based on size
find /path -size 50M

M - MB
G - GB
k - KB
c - bytes

Search for just file or directory or something else
find /path/ -type f

f - file
d - directory
l - symbolic link
b - block device
s - socket

Search for a given user
find /path/ -user root

Based on inode no
find /path/ -inum <inode_no._of_file>
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.