bash: inotifywait: command not found

Jmnote (토론 | 기여)님의 2023년 12월 28일 (목) 15:04 판 (→‎개요)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요[ | ]

bash: inotifywait: command not found
-bash: inotifywait: command not found
Ubuntu
Console
Copy
root@localhost:~$ inotifywait
bash: inotifywait: command not found
Debian
Console
Copy
root@localhost:~$ inotifywait
-bash: inotifywait: command not found

2 설치[ | ]

Console
Copy
root@localhost:~$ apt install inotify-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libinotifytools0
The following NEW packages will be installed:
  inotify-tools libinotifytools0
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 44.3 kB of archives.
After this operation, 145 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Console
Copy
Get:1 http://deb.debian.org/debian buster/main amd64 libinotifytools0 amd64 3.14-7 [18.7 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 inotify-tools amd64 3.14-7 [25.5 kB]
Fetched 44.3 kB in 0s (189 kB/s)    
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libinotifytools0:amd64.
(Reading database ... 36581 files and directories currently installed.)
Preparing to unpack .../libinotifytools0_3.14-7_amd64.deb ...
Unpacking libinotifytools0:amd64 (3.14-7) .............................................................................] 
Selecting previously unselected package inotify-tools..................................................................] 
Preparing to unpack .../inotify-tools_3.14-7_amd64.deb ...
Unpacking inotify-tools (3.14-7) ...###############....................................................................] 
Setting up libinotifytools0:amd64 (3.14-7) ...################.........................................................] 
Setting up inotify-tools (3.14-7) ...################################################..................................] 
Processing triggers for libc-bin (2.28-10) ...#############################################################............]
Console
Copy
root@localhost:~$ inotifywait
No files specified to watch!

3 같이 보기[ | ]