<aside> ✅ 1. find → 디렉토리에서 직접 찾음, exec ⇒ {}, \; 또는 + 必, name, type 2. locate → 데이터베이스에서 찾음 3. 디렉토리 특성들 4. whereis [명령어] ⇒ 명령어 경로 확인

</aside>

1) 디렉토리 구조 1, 2

Untitled

nojeans@xudegloss:/$ ls -l
total 68
lrwxrwxrwx   1 root root     7 Feb 17 03:37 bin -> usr/bin
drwxr-xr-x   4 root root  4096 Mar 27 23:44 boot
dr-xr-xr-x   2 root root  4096 Feb 17 08:52 cdrom
drwxr-xr-x  19 root root  4060 Mar 28 23:40 dev
drwxr-xr-x  84 root root  4096 Mar 28 00:17 etc
drwxr-xr-x   3 root root  4096 Mar 13 23:57 home
lrwxrwxrwx   1 root root     7 Feb 17 03:37 lib -> usr/lib
lrwxrwxrwx   1 root root     9 Feb 17 03:37 lib32 -> usr/lib32
lrwxrwxrwx   1 root root     9 Feb 17 03:37 lib64 -> usr/lib64
lrwxrwxrwx   1 root root    10 Feb 17 03:37 libx32 -> usr/libx32
drwx------   2 root root 16384 Mar 13 23:52 lost+found
drwxr-xr-x   2 root root  4096 Feb 17 03:37 media
drwxr-xr-x   2 root root  4096 Feb 17 03:37 mnt
drwxr-xr-x   2 root root  4096 Feb 17 03:37 opt
dr-xr-xr-x 268 root root     0 Mar 28 23:40 proc
drwx------   5 root root  4096 Mar 25 23:07 root
drwxr-xr-x  26 root root   800 Mar 29 00:01 run
lrwxrwxrwx   1 root root     8 Feb 17 03:37 sbin -> usr/sbin
drwxr-xr-x   6 root root  4096 Mar 14 00:51 snap
drwxr-xr-x   2 root root  4096 Feb 17 03:37 srv
dr-xr-xr-x  13 root root     0 Mar 28 23:40 sys
drwxrwxrwt  11 root root  4096 Mar 29 00:00 tmp
drwxr-xr-x  14 root root  4096 Feb 17 03:37 usr
drwxr-xr-x  13 root root  4096 Feb 17 03:46 var